|
|
|
02-10-2020, 12:12 PM
|
#1
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,721
|
Simplest way to see if a track is a folder?
Hi gang,
I'm at a loss... is there a simple way to tell if a selected track is a folder or not?
I'm embarrassed to ask
Thanks for any help.
Cheers,
Andrew K
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
02-10-2020, 12:22 PM
|
#2
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,269
|
this returns 1 if it is a folder if I remember correctly
Code:
isfolder = reaper.GetMediaTrackInfo_Value(track, "I_FOLDERDEPTH")
|
|
|
02-10-2020, 02:39 PM
|
#3
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,721
|
Quote:
Originally Posted by heda
this returns 1 if it is a folder if I remember correctly
Code:
isfolder = reaper.GetMediaTrackInfo_Value(track, "I_FOLDERDEPTH")
|
Brilliant!!
Thanks so much heda!!
Cheers,
Andrew K
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
02-10-2020, 03:26 PM
|
#4
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
@Thonex: you should really hang around with us on discord :P
|
|
|
02-10-2020, 04:53 PM
|
#5
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,721
|
Quote:
Originally Posted by _Stevie_
@Thonex: you should really hang around with us on discord :P
|
I know... I know... just need to make a dent in this huge project :O
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
02-11-2020, 09:17 AM
|
#6
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
My point was: you get 1st class scripting support there :P
|
|
|
02-13-2020, 01:42 PM
|
#7
|
Human being with feelings
Join Date: Aug 2011
Posts: 522
|
Whats the channel?
|
|
|
02-13-2020, 09:11 PM
|
#8
|
Human being with feelings
Join Date: May 2018
Location: Los Angeles
Posts: 1,721
|
Quote:
Originally Posted by _Stevie_
My point was: you get 1st class scripting support there :P
|
True dat!
__________________
Cheers... Andrew K
Reaper v6.80+dev0621 - June 21 2023 • Catalina • Mac Mini 2020 6 core i7 • 64GB RAM • OS: Catalina • 4K monitor • RME RayDAT card with Sync Card and extended Light Pipe.
|
|
|
02-14-2020, 06:58 AM
|
#9
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,067
|
Quote:
Originally Posted by reapero
Whats the channel?
|
Check HeDa‘s signature for the discord channel!
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 09:17 AM.
|