Question #229401 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/229401
Status: Answered => Solved
RaiMan confirmed that the question is solved:
At least on Windows 7 we have the situation, that maximized application windows
(e.g by double clicking on the title bar) are maxcimized in a way, that the
window frame is put outside the physical screen.
This leads to a "negative" (x,y) point for the top left corner of the region
returned by App().window() and hence to the reported error: Region outside any
screen.
There is no simple automatic solution for that. I have it now on the
list for version 1.1.
This you can do as a workaround until then:
reg = intersection(App('Microsoft Word').window(0))
which reduces the window region to the visible part on Screen(0) (what
is the area, that is accessible for Sikuli)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp