Windows focus

Asked by Sathyamoorthy

Hi,

When I am running sikuli script, in between script has to open some more windows, since i am facing scrit failure because of Windows was not first one, and window i minimized or behind the current window.
How to get focus to particural window whe script is running?

Thanks in advance,

V.Sathyamoorthy

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Sathyamoorthy
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

--- get window back to front
App.focus("some text from window title")

But minimized windows will not reopen this way.
You have to rightClick on the tab in task bar and trigger the appropriate option (shortcut!).

Revision history for this message
Mike Williamson (sleepycat) said :
#2

I was struggling with something similar. Maybe this answer will help:
https://answers.launchpad.net/sikuli/+question/205400

Revision history for this message
Sathyamoorthy (sathyamoorthybe) said :
#3

Ok