Accept string variables on 'Cancel Macro Actions'

guilhermgonzaga

New member
Hello, everyone.

Reasoning: we can set a variable to the macro's name, which is bulletproof against mistyping. So how about accepting a variable as a name so one macro can stop another in a more dynamic way? If someone only gets the name properly, i.e. via Set Variable, it will be safe against the name ever changing or being mistyped.

Use case: I thought of making a simple macro to factor out a sequence of actions in macros that can somehow fail, similar to a panic in general programming.
All it's going to do is write to the log that a macro failed, show a notification, and stop it. A common pattern for me.
 
Top