Joshjosh Posted August 14, 2006 Share Posted August 14, 2006 Hey guys, I'm only very new to autoit and before asking how to make a script that will always run to check if an executable (iexplore.exe) is running or not, I assume someone else has already made one. All i wanted to do is have a sript that checks if internet explorer is running, and, if its not, start it. Any informatin would be much appreciated. Link to comment Share on other sites More sharing options...
NELyon Posted August 14, 2006 Share Posted August 14, 2006 Look at the functions ProcessExists, Run, and "If" loop Link to comment Share on other sites More sharing options...
Joshjosh Posted August 14, 2006 Author Share Posted August 14, 2006 thanks for that, here is the code i have, now all i want it to do is loop. ;Check Iexplore exists, if not then run if not ProcessExists("iexplore.exe") then run("c:\Program Files\Internet Explorer\iexplore.exe") EndIf Thanks again Link to comment Share on other sites More sharing options...
NELyon Posted August 14, 2006 Share Posted August 14, 2006 While 1 If Not ProcessExists("iexplore.exe") Then Run(@ProgramFilesDir &"\Internet Explorer\iexplore.exe") WEnd 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