Sign in to follow this  
Followers 0
Joshjosh

Check if exe is running and run if its not

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



Look at the functions ProcessExists, Run, and "If" loop

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0