BlazeLondon Posted March 11, 2006 Posted March 11, 2006 silly question i want to make sure only one instance of my app is running If ProcessExists("qrestore.exe") Then Exit this kills myself
Valuater Posted March 11, 2006 Posted March 11, 2006 If UBound(ProcessList(@ScriptName)) > 2 Then MsgBox(262208, "* NOTE * ", "Welcome to AutoIt 1-2-3 was already running ", 5) Exit EndIf 8)
Moderators SmOke_N Posted March 11, 2006 Moderators Posted March 11, 2006 If UBound(ProcessList(@ScriptName)) > 2 Then MsgBox(262208, "* NOTE * ", "Welcome to AutoIt 1-2-3 was already running ", 5) Exit EndIf 8)_SingleTon in the help file! Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Moderators SmOke_N Posted March 11, 2006 Moderators Posted March 11, 2006 requires includes8)Or you could just copy the UDF ? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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