Is there some way to test programmatically inside of a ReaScript to see if that ReaScript is executing inside a compound custom action?
In other words, lets say I have:
Action 1 (lua script)
Action 2 (lua script)
Action 3 (lua script)
And then I create a compound custom action
BigAction which executes Action 1; Action 2; Action 3
Is there any lua code I can write inside of Action 1, 2 or 3 to test to see if they are being executed as part of BigAction or just by themselves?
When I run run reaper.get_action_context within those Action 1, 2, 3, it tells me that the context is Action 1, 2, 3 no matter what.
How can I find out if I am running inside of BigAction?