Cipher Posted February 19, 2005 Share Posted February 19, 2005 Here is my code. I am trying to get it so that whenever the windows taskmanager opens the mouse wil move and close it. While WinActive("Windows Task Manager") WinWaitActive("Windows Task Manager") MouseMove(550,90) mouseclick("left") How do I get it to loop? Link to comment Share on other sites More sharing options...
CyberSlug Posted February 20, 2005 Share Posted February 20, 2005 While 1 ;infinite loop because 1 is always "true" sleep(10);prevent maxing-out the CPU If WinExists("Windows Task Manager") Then WinClose("Windows Task Manager") Wend Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! 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