CALLMACRO / MACRO
This is a “helping” user action, which lets you call a macro. It has two usecases I have come across so far:
- is to call a macro with the use of variables to composite the name of the macro to call.
- Example:
- You have a specific macro for each track (1-4) called.
$TRACK-1$$TRACK-2$$TRACK-3$$TRACK-4$
Now you want to call one of these macros depending on a variable
%TRACKNUMBER% = 2 and
$TRACK-%TRACKNUMBER%$ which does not work unfortunately.
With the user action callmacro or macro you can do it, because you don’t need the $ signs:
macro TRACK-%TRACKNUMBER%
Depending on your setup this might saves you tons of time and makes you set more efficent. I came across this on a Q&A and I discovered I had the user action lying on my shelf since quite a while.
- call a macro from inside another macro:
e.g.:
$macro1$ = msg "yes"
$macro2$ = 1 / MUTE ; macro macro1 ; 2 / MUTE ;
will work, but doing it as this will not work, because the quotation marks mess up everything:
$macro1$ = msg "yes"
$macro2$ = 1 / MUTE ; $macro1$ ; 2 / MUTE ;