yabee Posted April 22, 2010 Share Posted April 22, 2010 (edited) 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 April 22, 2010 by yabee Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted April 22, 2010 Share Posted April 22, 2010 (edited) 1. Get new glasses, This is not a general support forum!2. Like this:If ProcessExists("iexplore.exe") Or ProcessExists("firefox") ThenEdit: I have reported you, so hopefully this will be moved. Edited April 22, 2010 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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