← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #221943]: Toggle between windows

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
on Windows: an opened (but not minimized) window can be brought to
foreground using

App.focus("text")

where text is a distinguishing part (unique for all opened windows) of
the respective window's title.

If this is not possible:
type(Key.TAB, KeyModifier.ALT)

brings the next window in the window switcher row to front. A subsequent
type() brings back the window before.

... and there are many other possibilities, to do the job: with Sikuli
just remember, what you would do manually and then check wether this is
possible using simulation of mouse and keyboard.

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