In QM, I can use the Pause key to stop macro execution, which is very convenient.
This functionality is not available in LA, and implementing it might be somewhat challenging.
I have the following suggestion:
During script execution, display a button in the bottom right corner of the screen. Clicking this button would stop the execution.
However, in many cases, it might be difficult to control the mouse.
To address this, define a hotkey, for example Ctrl. Pressing Ctrl would immediately hover the mouse pointer over the button.
Then, pressing the Enter key would stop the script execution (Ctrl -> Enter)
The pause function in the following code does not work
script.setup(trayIcon: true, sleepExit: true, pauseKey: KKey.ScrollLock);
I'm not sure if it's feasible
Also, the button in the image below be displayed in red during script execution?
This functionality is not available in LA, and implementing it might be somewhat challenging.
I have the following suggestion:
During script execution, display a button in the bottom right corner of the screen. Clicking this button would stop the execution.
However, in many cases, it might be difficult to control the mouse.
To address this, define a hotkey, for example Ctrl. Pressing Ctrl would immediately hover the mouse pointer over the button.
Then, pressing the Enter key would stop the script execution (Ctrl -> Enter)
The pause function in the following code does not work
script.setup(trayIcon: true, sleepExit: true, pauseKey: KKey.ScrollLock);
I'm not sure if it's feasible
Also, the button in the image below be displayed in red during script execution?