04-26-2007, 05:19 AM
hey i found this on the forum...
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?
;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?