Question #244196 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244196
Status: Open => Answered
RaiMan proposed the following answer:
Region win = App.focusedWindow();
should do what you want.
to get the buffered image this should work:
BufferedImage bing = (new Screen().capture(win)).getImage()
--
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