View Single Post
Old 09-13-2019, 08:37 AM   #1919
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

Quote:
Originally Posted by heda View Post
I don't know how Conditional actions work. But Scripting is more powerful... maybe it is easier to make a script?

This is how to get if Track Inspector is running in Lua:

Code:
local retval, isrunning = reaper.GetProjExtState(0, "HeDaTrackInspector", "RUNNING")
Much thanks for your help, heda.
It turned out to be pretty simple. I had to create a cycle action containing the Inspector script and set it as a toggle action.
Then I was able to use that action as the "IF" condition.
It now functions as I'd like it to.

It was all about me just automatically applying two different layouts when using or not using the inspector.
Then scrolling in the mixer to the first selected track when toggling off the Inspector.

Ozman is offline   Reply With Quote