ferrari987 Posted November 13, 2009 Share Posted November 13, 2009 Hey there, i have a problem with the following script: If ProcessExists("firefox.exe") Then MsgBox(0,"no","no") Else MsgBox(0,"yes","yes") ;run("C:\Program Files\ShrewSoft\VPN Client\ipseca.exe") EndIf Exit If a run it from the editor by Tools -> go it works as intended. When I run the compiled .exe I always get "no" no matter if firefox.exe is running or not. My system is: Windows 7 64bit. Thanks for your advice. ferrari987 Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 13, 2009 Share Posted November 13, 2009 Probably the same in Vista, too. Add #RequireAdmin to the top of the script. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
ferrari987 Posted November 13, 2009 Author Share Posted November 13, 2009 Thanks but no change Link to comment Share on other sites More sharing options...
Confuzzled Posted November 14, 2009 Share Posted November 14, 2009 If you press CTRL-ALT-DELETE together and invoke task manager, do you see 'firefox.exe' in the task list? Foreground or background? Link to comment Share on other sites More sharing options...
ferrari987 Posted November 14, 2009 Author Share Posted November 14, 2009 Yes it is there. The problem is: the compiled exe acts, as if firefox.exe was running, even if it is 100% not running. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 14, 2009 Developers Share Posted November 14, 2009 Yes it is there. The problem is: the compiled exe acts, as if firefox.exe was running, even if it is 100% not running.What did you call your script? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ferrari987 Posted November 14, 2009 Author Share Posted November 14, 2009 I am so stupid... Thanks a lot Link to comment Share on other sites More sharing options...
Developers Jos Posted November 14, 2009 Developers Share Posted November 14, 2009 We've all had our DUHHHHHH moments SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 14, 2009 Share Posted November 14, 2009 What did you call your script?Oh, I wish I had thought of that. Nice catch, Jos! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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