kid1232 Posted September 16, 2013 Share Posted September 16, 2013 (edited) I want make my tool run only one per time That mean if its running, i open again -> Open abort or notice that tool still alive I have only 1 idea that check processexist, but I dont know how to compile autoit with a const processname, its same the tool name (ex: Tool1.exe), so if rename its change name process Plz everybody, plz help me. Tell me some ideas Thanks for support!!! Edited September 16, 2013 by kid1232 Link to comment Share on other sites More sharing options...
JohnOne Posted September 16, 2013 Share Posted September 16, 2013 _Singleton kid1232 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
EKY32 Posted September 16, 2013 Share Posted September 16, 2013 _Singleton More help, according to (5 posts) and Anti - Double - Open #include <Misc.au3> #include <MsgBoxConstants.au3> If _Singleton("test", 1) = 0 Then MsgBox($MB_SYSTEMMODAL, "Warning", "An occurence of test is already running") Exit EndIf MsgBox($MB_SYSTEMMODAL, "OK", "the first occurence of test is running") good luck kid1232 1 [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
kid1232 Posted September 16, 2013 Author Share Posted September 16, 2013 (edited) tks for your support, sr about my english p/s: i dont know that new member (5posts) is cannt make a question So sr about that Edited September 16, 2013 by kid1232 Link to comment Share on other sites More sharing options...
EKY32 Posted September 16, 2013 Share Posted September 16, 2013 tks for your support, sr about my english p/s: i dont know that new member (5posts) is cannt make a question So sr about that NO no! it's not what I mean! you are welcomed any time. kid1232 1 [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Link to comment Share on other sites More sharing options...
kid1232 Posted September 16, 2013 Author Share Posted September 16, 2013 NO no! it's not what I mean! you are welcomed any time. tks bro 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