Hello, I hope this is the correct forum.
I am trying to create a cycle action to achieve the following:
toggle show selected track(s) only // restore previous track visibility
My Cycle Action is programmed like this:
- Script: X-Raym_Save all tracks visibility.lua
- SWS: Show selected track(s), hide others
- --------Step---------
- Script: X-Raym_Restore all tracks visibility.lua
The resulting action does not work as expected. When executed the tracks in question are shown/hidden but when executed again to restore the previous (saved) state nothing happens. I don't know whether the action fails because the visibility isn't saved in the first place or whether it just doen't restore.
If I add a Step after the first action all the steps are executed but of course require two keystrokes to execute the initial track show/hide (and one keystroke to restore visibility).
I can't see where I am going wrong and why the Cycle Action is not working as expected - any help appreciated!