dontask Posted February 8, 2010 Share Posted February 8, 2010 Im have learned a great deal here and the help files but Im having issues with a loop. I tried using While and Wend and have had no luck. This is the part of the script I need to repeat if the process is still running If ProcessExists("firefox.exe") then MsgBox(0,"Running","Looks like firefox is running.Please close firefox so we can back up your bookmarks and settings, then click OK!") Else EndIf If a user clicks OK I want it to loop back up and check again. Then continue with the rest of the script when firefox.exe is not found. Link to comment Share on other sites More sharing options...
trancexx Posted February 8, 2010 Share Posted February 8, 2010 While ProcessExists("firefox.exe") MsgBox(... WEnd ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
dontask Posted February 8, 2010 Author Share Posted February 8, 2010 Thanks !! I was trying to do it with the if then still in there with the While and Wend. Link to comment Share on other sites More sharing options...
JohnOne Posted February 8, 2010 Share Posted February 8, 2010 While 1 If ProcessExists("firefox.exe") then MsgBox(0,"Running","Looks like firefox is running.Please close firefox so we can back up your bookmarks and settings, then click OK!") Else ExitLoop EndIf Wend AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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