sensalim Posted October 26, 2007 Share Posted October 26, 2007 Say I have Test.au3 converted to Test.exe. How can I make it so that it knows not to run if Test.exe (itself) already exists in the process list? I tried using ProcessExists() but it doesn't work (probably my problem). " If ProcessExists("Test.exe") <> 0 Then ;process already exists, exit Exit EndIf " It works (I think) if I run the .au3 directly but not if I run the .exe. Any help? Thanks a lot! Link to comment Share on other sites More sharing options...
Nevin Posted October 26, 2007 Share Posted October 26, 2007 http://www.autoitscript.com/forum/index.php?showtopic=37289 Q3 Link to comment Share on other sites More sharing options...
sensalim Posted October 26, 2007 Author Share Posted October 26, 2007 (edited) http://www.autoitscript.com/forum/index.php?showtopic=37289 Q3Oh, oops.Thanks!Edit:It doesn't work... it just exists no matter what.Edit:When running the .au3 directly, I get an error, line 60 in Misc.au3Local $p = DllStructCreate($struct)error: unknown function name.I do have misc.au3 inC:\program files\autoi3\include\misc.au3 Edited October 26, 2007 by sensalim 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