View Single Post
Old 05-05-2021, 01:54 AM   #3
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,132
Default

media_cue_state = reaper.GetToggleCommandState( 40691) -- View: Toggle show media cues in items

you can get the media_cue_state to toggle and change button color in a GUI.

If that's not it then you will have to give more info.

Full Screen


Code:
media_cue_state = reaper.GetToggleCommandState( 40691) -- View: Toggle show media cues in items

if media_cue_state == 0 then
  reaper.Main_OnCommand( 40691, 0)
end
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com

Last edited by MusoBob; 05-05-2021 at 02:03 AM.
MusoBob is offline   Reply With Quote