EliTe_ThuT Posted April 17, 2007 Share Posted April 17, 2007 What is the simplest way to make sure that there is only one instance of the script running at a time. Link to comment Share on other sites More sharing options...
xcal Posted April 17, 2007 Share Posted April 17, 2007 Put this at the top of your script: $script_version = 'Some String Etc' If WinExists($script_version) Then ; do something here, like 'Exit' EndIf AutoItWinSetTitle($script_version) Or, you can use _Singleton. See the help file for that. How To Ask Questions The Smart Way 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