Callback function

By default when a macro is interrupted by Ctrl-C the function Macro.on_stop is called. If you want the macro to perform any specific action when interrupted, you can overwritte the default Macro.on_stop function implementing on_stop in your own macro.

One can force the macro to stop at any specific point of the execution after a Ctrl-C is done. You need to put a call to the function self.checkPoint() at the point where you want the macro to be stopped after the Ctrl-C. Usually this is not needed to be used.



2019-11-13