Hi folks,
I have a question for you. I modified M6 macro and now I have another macro in M6 macro. So, macro inside a macro (it is WinForm). Works well, but I am thinking, how to kill the above M6 macro by the inner macro. Imagine dialog with OK and cancel (it is not standard dialog box). When I hit cancel, i want to stop the above M6 macro.
I can think of two ways to do that.
First is, that I can write a value to VAR and read that VAR in above M6 macro. When the inner macro write 0 value to VAR, the above M6 macro can read it and stop the macro.
Second is, that i can call the cycle stop button from inner macro, which affect the above M6 macro.
I assume, that I can even call some code in inner macro. At least the one, Cycle stop call. Do you know, what code it is. Because exec.stop affect only the inner macro itself. Not the above one. What I am trying to achieve, is to interrupt the whole M6 macro, but without the writing the cycle stop in status window.
Any hints?