Jump to content

Check if exe is running and run if its not


Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...