← Back to team overview

sikuli-driver team mailing list archive

[Question #145986]: Open the browser if it is active, or open a new window

 

Question #145986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/145986

Description changed to:
Hi!
I have a question that how Sikulilla can open such as Firefox, if it is active, but if it is not active, it opens a new window with the location C:\Program Files (x86)\Mozilla Firefox 4.0 Beta 11\firefox.exe

I understood how to do it otherwise,
switchApp ("Mozilla Firefox")
openApp ("C: \ Program Files (x86) \ Mozilla Firefox 4.0 Beta 11 \ \firefox.exe");
but I didn't find this function:
"Open the Active firefox browser, if possible. If not found, open firefox in a new window"

Thank you if you can help me!
Roy Järvinen

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.