Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stopping Script Execution
#1
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  Wink

Also, the button in the image below be displayed in red during script execution?


Attached Files Image(s)
   


Messages In This Thread
Stopping Script Execution - by Davider - 03-17-2024, 11:57 PM
RE: Stopping Script Execution - by Gintaras - 03-18-2024, 06:50 AM
RE: Stopping Script Execution - by Davider - 03-18-2024, 01:02 PM
RE: Stopping Script Execution - by Davider - 03-18-2024, 02:23 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)