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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to