sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22142
Re: [Question #238399]: How to take screenshot of a particular window?
Question #238399 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238399
Status: Open => Answered
RaiMan proposed the following answer:
after having made sure, that wmctrl is installed, bot work:
switchApp("AppName")
or
App.focus("AppName")
if you want to use the app window region:
reg = App("AppName").window()
or
reg = App("AppName").window(n)
if the app has more than one window
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.