Jump to content
Sign in to follow this  
yabee

and or

Recommended Posts

yabee

how do you do an or statement?

i would need to put firefox.exe in this line because i would like my script to run if either iexplore or firefox are opened.

If ProcessExists("iexplore.exe")

or

is it possible to do this instead?

(iexplore or firefox) or (iexplore && firefox)

Then

While 1

If ProcessExists("iexplore.exe") Then

ShellExecute("C:\Program Files\Project1\Sticky Me 1.5.0.exe")

EndIf

Sleep(100)

If ProcessExists("Sticky Me 1.5.0.exe") then

exit

EndIf

WEnd

and yes.. I openly admit Im new at this.

Edited by yabee

Share this post


Link to post
Share on other sites
AdmiralAlkex

1. Get new glasses, This is not a general support forum!

2. Like this:

If ProcessExists("iexplore.exe") Or ProcessExists("firefox") Then

Edit: I have reported you, so hopefully this will be moved.

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×