Joshjosh Posted August 14, 2006 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.
NELyon Posted August 14, 2006 Posted August 14, 2006 Look at the functions ProcessExists, Run, and "If" loop
Joshjosh Posted August 14, 2006 Author 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
NELyon Posted August 14, 2006 Posted August 14, 2006 While 1 If Not ProcessExists("iexplore.exe") Then Run(@ProgramFilesDir &"\Internet Explorer\iexplore.exe") WEnd
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