View Single Post
Old 05-08-2017, 12:42 AM   #16
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

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
mpl is offline   Reply With Quote