SETVAR
Unfortunately you can’t set a variable inside a macro. Although in some cases this is something you want to do! e.g. when you use X-Modes, which works with different macros.
So this user action
[] SETVAR variablename value
does trigger an action list with
[] %variablename% = value
Examples:
[] setvar track1 34
[] setvar looplength 4
You can’t use a white space for the variable name, if you want to seperate words use (-) or (_) like variable-name or var_name
With version 1.1 from May 2024 on you know can use also stings as variable content with as many whitespaces as you like.
setvar variable "string to set"
will not work NOW.
unfortunately, you still can’t use LOM Expressions like you can use in a X-Clip.
Don’t use this action and call a macro in the same action list! There is a dedicated user action for this. SETVARMACRO