Wanzler Posted August 18, 2005 Share Posted August 18, 2005 (edited) Hello! I'd like to extend my Script, at the end it examine whether the mouse yet not bein g moved. The "Countdown" starty only when the mouse begins moving and stop it. Here is my script: ; ---------------------------------------------------------------------------- Opt("TrayIconHide", 1) While 1 $pos = MouseGetPos() $newpos = MouseGetPos() if $pos[0] = $newpos[0] or $pos[1] = $newpos[1] Then sleep(30000) sleep(30000) sleep(30000) sleep(30000) sleep(30000) sleep(30000) EndIf $apos = MouseGetPos() if $pos[0] = $apos[0] or $pos[1] = $apos[1] Then ProcessClose ( "IEXPLORE.exe" ) ProcessClose ( "Acrord32.exe" ) RunWait ( "ie.bat" ) EndIf WEnd Edited August 18, 2005 by Wanzler Link to comment Share on other sites More sharing options...
Wanzler Posted August 18, 2005 Author Share Posted August 18, 2005 oke i have found a way to do it. but now anothter question: Is it possible that a function repeat again and again? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now