sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24285
Re: [Question #244196]: [SIKULI-JAVA] How to create a BufferedImage on the ActiveWindows
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.