01-08-2015, 03:36 PM
pause and restart macro from the point it was paused at.. is that possible. I just found a way to stop the macro and restart from the start.
pause and resume macro
|
01-08-2015, 03:36 PM
pause and restart macro from the point it was paused at.. is that possible. I just found a way to stop the macro and restart from the start.
01-08-2015, 04:21 PM
It is not possible to pause a thread (running macro) from outside in a safe way. A thread only can pause itself, ie wait for an event.
There are Windows API functions SuspendThread and ResumeThread, but sometimes they can be dangerous, for example QM cannot correctly end a suspended thread.
01-08-2015, 05:35 PM
Function ThreadPauseResume
;/
12-10-2017, 04:58 AM
You said here that a new version will have pause/resume. when will that be?
And also, for the meantime. how exactly do i insert this to my rep/loop macro, making scroll lock as a hotkey? scroll lock on = pause scroll lock off = resume Thx!
12-10-2017, 07:35 AM
04-11-2023, 06:26 PM
I was thinking about this today and here's my thoughts... is there a way to set a trigger Hotkey at the beginning of a long macro so that anytime it is pressed while a macro is running it will execute a function. For example...
Let's say I've got a long macro running and I want to pause it for a moment by pressing the F12 key. When I do, it executes a function that just pops a msg box on the screen saying Macro Paused, Click OK to continue. As long as that msg box is on the screen, the entire macro is effectively paused. When the OK button is pressed on that msg box it will exit the function and return to where it left off. Does that make sense? |
« Next Oldest | Next Newest »
|