Old 04-07-2024, 05:41 AM   #1161
Daimebag
Human being with feelings
 
Join Date: May 2014
Location: France
Posts: 28
Default

Hi, is there a way to detect if selected track is a spacer?

Last edited by Daimebag; 04-07-2024 at 04:08 PM.
Daimebag is offline   Reply With Quote
Old Yesterday, 03:07 AM   #1162
FeedTheCat
Human being with feelings
 
FeedTheCat's Avatar
 
Join Date: May 2019
Location: Berlin
Posts: 2,197
Default

Quote:
Originally Posted by Daimebag View Post
Hi, is there a way to detect if selected track is a spacer?
For native spacers there's "I_SPACER" for GetMediaTrackInfo_Value.

If by spacer you mean a track layout that looks like a spacer you can get the layout name via reaper.GetSetMediaTrackInfo_String ("P_TCP_LAYOUT" and "P_MCP_LAYOUT").
__________________
Featured scripts: REAPER Update UtilityLil ChordboxGridbox/Adaptive gridMX TunerRS5K LinkMIDI Editor Magic Donate💝: PayPal|ko-fi
FeedTheCat is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.