Jump to content

Recommended Posts

Posted

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

Posted

If you press CTRL-ALT-DELETE together and invoke task manager, do you see 'firefox.exe' in the task list? Foreground or background?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...