Jump to content

autoit script close if already running


monte
 Share

Recommended Posts

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

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...