Home › Forums › Macros › ElseIf alternative › Reply To: ElseIf alternative
14 May 2021 at 21 h 21 min
#5098
Philippe
Keymaster
Hi Daniel,
You can use some If // EndIf verification.
As it is below :
DoRepeat
If {$state_record$ == true}
Message “Recording in action”
EndIf
If {$state_overdub$ == true}
Message “Overdub in action”
EndIf
Sleep 100
While true
If needed, you can stop the macro after a true action like this :
If {$state_record$ == true}
Message “Recording in action”
MacroStop
EndIf
So that, the macro will not test everything every time.
Philippe