Cycle action, расширение .ini, импортировать через cycle action editor
Code:
[Main_Cyclactions]
; Do not tweak by hand! Use the Cycle Action editor instead
Action1="context collapse||IF|40078|41665|ELSE|1042|ENDIF|"
Nb_Actions=1
Version=3
Ну или то же самое в lua:
Code:
if reaper.GetToggleCommandState( 40078 ) == 1 then reaper.Main_OnCommand(41665,0) else reaper.Main_OnCommand(1042,0) end