Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with wait...restart
#1
hey i found this on the forum...

Code:
Copy      Help
;restart

;code does a bunch of stuff here

5 C 0x000000 10 10;;waits 10 minutes for the colour black at position 10 10
;if it doesn't see the colour it keeps going
;****
;the command here if it didnt find the colour
;*****

30;;wait 30 seconds
goto restart     
,

i think it makes it wait 10 minutes and if it does not find the color black it will restart...if i am right do u think u can modify it to make it wait 20 seconds for the mouse to move and if it doesnt...restart the mac?
#2
no, it only makes it wait for 5 seconds;that's what that 5 is for.
An old blog on QM coding and automation.

The Macro Hook
#3
yeah i changed that sorry but can u make it wait for the mouse not to move for 5 seconds straight instead of wating for the color??


Forum Jump:


Users browsing this thread: 1 Guest(s)