← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #202836]: Generic sikuli logic if screen postion got changed

 

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

j posted a new comment:
If you follow RaiMans suggestion to search for one or more visual key
elements from which you can determine the position of the window, you
can pack this functionality into an observer and run it in the
background so that it observes the logo/header of the window and
recalculates the right window position everytime its location changes.

I would not recommend the App class because it often did not work as
expected in my scripts.

If performance is not critical for you, you could also change the Region
where you search your text to SCREEN, so the whole screen will be
searched for the text, but this is a rather bad solution ;-)

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