markgamboa Posted March 21, 2009 Share Posted March 21, 2009 (edited) How to set my program process one at a time. In my case i try to open my program twice then it open, i would like to know how can i stop running another program if one is currently running on the taskmaneger. Edited March 21, 2009 by markgamboa Link to comment Share on other sites More sharing options...
Valuater Posted March 21, 2009 Share Posted March 21, 2009 There are many ways... here is one from Autoit Wrappers If UBound(ProcessList(@ScriptName)) > 2 Then _TrayMessageBox("XSkin-Pro", " " & $language[1] & " " & @CRLF & @CRLF & " ...ClickTask.com ") Exit EndIf 8) Link to comment Share on other sites More sharing options...
herewasplato Posted March 21, 2009 Share Posted March 21, 2009 I'm not sure that I understand your question, but take a look at the FAQ:Q3. How can I prevent more than one copy of my script from running at once / detect another copy of my script running?http://www.autoitscript.com/forum/index.php?showtopic=37289 [size="1"][font="Arial"].[u].[/u][/font][/size] 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