sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #08100
Re: [Question #171361]: Save screenshots of application
Question #171361 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/171361
RaiMan posted a new comment:
Nice try ;-)
type("3", KEY_SHIFT|KEY_META)
might take a screenshot, but the resulting file is not returned to
Sikuli (type only simulates the key presses)
import shutil # once at beginning of script
img = capture(SCREEN)
shutil.move(img, '/Users/Log/img.png')
should do what you want.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.