maestro1024 Posted April 29, 2008 Share Posted April 29, 2008 Hello, I think I have seen this on the forum before but I couldn't find it and did not see it in the help file. I want to check when my application starts to see if there is an instance of the application already running and if there is an instance I will not start it up. What function is that based on? Thanks Link to comment Share on other sites More sharing options...
Dampe Posted April 29, 2008 Share Posted April 29, 2008 If ProcessExists (@Scriptname) Then ;Script is running. Link to comment Share on other sites More sharing options...
kimurtus Posted April 29, 2008 Share Posted April 29, 2008 in autoit go to help and search for _Singleton then try the example Link to comment Share on other sites More sharing options...
monoceres Posted April 29, 2008 Share Posted April 29, 2008 If ProcessExists (@Scriptname) Then ;Script is running.That only works if the script is compiled. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
maestro1024 Posted April 29, 2008 Author Share Posted April 29, 2008 Very cool. I plan on using the singleton which is easier for me to implement and requires less process. Probably are places where the other way would be more helpful. thanks again. 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