Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pause
#1
"wait 0 K ..." can wait in other thread.

Macro415
Code:
mac "WaitForKey_Thread"

;g1
;...
goto g1

Function WaitForKey_Thread
Code:
if(getopt(nthreads)>1) ret
wait 0 K F6
shutdown -6 0 "Macro415"




>>> is it possible not to shutdown Macro415 but just pause it?
i mean something like this: pause "Macro415"? but how to write it?

Thanks
#2
and, if i have

Function event

code:

wait 0 C 0xFFFFFF 329 323
wait 0 K Y
ret


then in Macro111

code:

mac "event"
...
;g1
...
goto g1




if pixel 329 323 turns to 0xFFFFFF color, then function "event" will wait 0 K Y, but will macro "Macro111" wait for key Y (enter), or does Macro continue running ?
#3
Pausing macros currently is not supported.

Macro will continue, because it runs in other thread.
#4
yes i saw that macro continues Sad

but no problem, i will find something else!
#5
you could always turn it into a function and then have it check a global variable and pause it the gv says something like "Pause" (which is set via a differ function/macro).
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)