stuka Posted August 3, 2007 Share Posted August 3, 2007 (edited) . Edited August 23, 2009 by stuka Link to comment Share on other sites More sharing options...
Marc Posted August 3, 2007 Share Posted August 3, 2007 Your idea should work... Anyway, I'd try it the simple way: If not ProcessExists("Test.exe") then Run ("Test.exe") ; just continue. If Process did not exist already, it has been started. of course, the other script has to be an compiled .exe file (not a .au3 file) Any of my own codes posted on the forum are free for use by others without any restriction of any kind. (WTFPL) Link to comment Share on other sites More sharing options...
Kip Posted August 3, 2007 Share Posted August 3, 2007 If ProcessExist("test.exe") Then ; do nothing ; ExitLoop or something like that (If it is in a loop) Else Run("test.exe") ; the part that shoult be skipped EndIf MailSpons: Fake SMTP server for safe email testing Dutch postcode & address API. Link to comment Share on other sites More sharing options...
MisterBates Posted August 3, 2007 Share Posted August 3, 2007 What I'm trying to ask is rather confusing I know. I would like to know how a script is written in order to detect a running script, if it is running, then it skips the next part(the running part) and jumps into the next part of the script.Errr...confusing?Take a look at _singleton - may help... [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script 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