fusion400 Posted May 29, 2010 Share Posted May 29, 2010 How to allow only single autoit compiled exe to run? I have an exe that is called autoitrestart.exe and i only want it be able to run in one instance so that whenever someone by accident clicks the exe it will just exit. I tried the #SingleInstance Force command but it does not work are there any other options available that are simple to implement. I just want something that exits the other instance immidiately without any prompts popping up. Thanks in advance. Link to comment Share on other sites More sharing options...
omikron48 Posted May 29, 2010 Share Posted May 29, 2010 #include <Misc.au3> _Singleton("Unique String Here") Link to comment Share on other sites More sharing options...
fusion400 Posted May 29, 2010 Author Share Posted May 29, 2010 #include <Misc.au3> _Singleton("Unique String Here") Thanks alot works great. Link to comment Share on other sites More sharing options...
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