fusion400 0 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. Share this post Link to post Share on other sites
omikron48 0 Posted May 29, 2010 #include <Misc.au3> _Singleton("Unique String Here") Share this post Link to post Share on other sites
fusion400 0 Posted May 29, 2010 #include <Misc.au3> _Singleton("Unique String Here") Thanks alot works great. Share this post Link to post Share on other sites