Sign in to follow this  
Followers 0
monte

autoit script close if already running

4 posts in this topic

Hello, I can't seem to figure this out. How does my script check to see if it's already running and exit if found..to prevent duplicates running.

the following doesn't work, the compiled exe won't even load and I can't use a if winexists() because I'm not making a gui, it's strickly a systemtray with hotkeys.

if processexists("myScriptName.exe") then exit

Share this post


Link to post
Share on other sites



worked like a charm, thanks.

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