Hello! :wave:
I´m writing a macro that have several steps and inform the user with a message on the status window on each step of the process.
If the macro is stopped with the ESC key or the STOP button, the movement stops but the macro still writing the messages on the status windows and keep running without movement.
My issue here is that every step of the macro it have a variable that is changing while its running so if the macro is stopped that variable will serve as a reference to tell the user where the macro was stopped.
I have the
if(!exec.Ismacrostopped())
but the ELSE statement only run after the whole macro finish running and give the message that the macro was stopped but only after all the routines went thru.
It isn't suppose that if you stop a macro it will go to the if(!exec.Ismacrostopped()) directly???
I´m running the macro from a button BTW.
Any help would be appreciated.
Thank you in advance!