While I can type ctrl-F6 to terminate a playing macro at any time, it would be nice if there is another soft-exit hot key (e.g. alt-F6) to set an internal flag such that the macro can read this flag and terminate gracefully at a predefined point (e.g. at the end of a loop).
Not sure how feasible this is as the soft-exit hot key may interfere with MMM during macro playing. Just a thought. Thanks!
I've been thinking of a 'debug' mode for sometime now. It's not your 'soft exit' but would playback the macro testing all the conditions, mouse and keyboard entries, without actually doing their action. It would be good for testing a macro.
The 'soft exit' hotkey is a good idea and kinda -sorta- on the same lines.
Steve, I am not sure if your debug hot key idea is "on the same line" with the "soft-exit" hot key. I think all the soft-exit hot key does is to set an internal Boolean variable to TRUE. That's all. Nothing else. The macro will need to be coded accordingly to make use of this Boolean variable to perform an exit or jump to handle a special condition. In other words, if nothing in a macro is written to check this Boolean variable, the "soft-exit" key will do nothing! Cheers!
This soft-exit hot key I am suggesting will be useful while a Macro is currently running and the user just wants to change the Macro's behavior. e.g. exit it early gracefully or pause to obtain user input etc... It is not an interrupt. The hot-key just sets an internal Boolean variable to TRUE. Thanks! B)