Old 09-20-2017, 09:31 AM   #1
Wilson
Human being with feelings
 
Join Date: Nov 2015
Posts: 219
Default Save all tracks visibility

Hi

The "Save all tracks visibility" from X-Raym not working properly in multible Actions.

My Action look like this:

Script: X-Raym_Save all tracks visibility.lua
SWS: Show all tracks
Track: Select all tracks
Cycle Mixer Track Layouts
SWS: Recall snapshot 1
Track: Unselected all tracks
Script: X-Raym_Restore all tracks visibility.lua

The first Action "Script: X-Raym_Save all tracks visibility.lua" not saving the track visibility.

I have to apply the single action "X-Raym_Save all tracks visibility.lua" first and then run the multible Actions to working properly.

Is there a solution for this?

Thanks
Wilson is offline   Reply With Quote
Old 09-20-2017, 10:08 AM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,902
Default

I confirm it doesn't work if the script for saving hasn't be used once already. Probably something to do about how SetProjExtState function are used inside custom actions.

You could either merge all this action inside one script (but this involves code editing) witout using ProjExtState
or just put the save action outside the custom action, and run it manually.
X-Raym is offline   Reply With Quote
Old 09-22-2017, 06:20 AM   #3
Wilson
Human being with feelings
 
Join Date: Nov 2015
Posts: 219
Default

Quote:
Originally Posted by X-Raym View Post
I confirm it doesn't work if the script for saving hasn't be used once already. Probably something to do about how SetProjExtState function are used inside custom actions.

You could either merge all this action inside one script (but this involves code editing) witout using ProjExtState
or just put the save action outside the custom action, and run it manually.
Thanks for your answer. Unfortunately I dont know how to code editing. Is there a simple tutorial how to merge Actions in one script?
Wilson is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.