View Single Post
Old 06-22-2019, 09:30 AM   #11
Danijel Milosevic
Human being with feelings
 
Join Date: Aug 2018
Posts: 9
Default

Quote:
Originally Posted by Edgemeal View Post
Copy the attached Lua file to your REAPER Scripts folder, e.g., on Windows, "C:\Users\<your-name>\AppData\Roaming\REAPER\Scripts".
In REAPER open Actions window, click Load button, select the lua file, click OK. Click Run button to run the script.
Optionally add a keyboard shortcut to it.

It should activate and arm all envelopes (even if not visible) on the selected tracks.

NOTE, if envelopes are not arm'd when shown after being hidden see this thread.
Hi Edgemeal, thanks for this script!
I have the same problem as Jules - it only arms the already activated envelopes. (And yes I have "Allow Writing Automation" checked in the Prefs).

I don't know anything about LUA, but I have a hunch that that reaper.CountTrackEnvelopes and reaper.GetTrackEnvelope work only with already active envelopes... I tried digging through the API, but didn't find any similar functions :'(
Danijel Milosevic is offline   Reply With Quote