← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #205071]: Switch to JUnit testing app

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
@ Neo
I guess app is some application object created by the user (his GUI app) and a Sikuli App object.

@ Martin
I guess, it is not possible, to switch to your GUI app, using Sikuli's app switching features.
I made some tests, but did not succeed using switchApp()/App.focus().

Even using AppleScripts Sytem Events feature i did not find a way, to
make the process frontmost again.

So I guess the only way would be, to make your GUI a real Mac app (like
Sikuli IDE), and start it from Java using the open command with
Runtime.exec().

Then Sikuli's app switching features should work.

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