Question #171361 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/171361

    Status: Open => Answered

RaiMan proposed the following answer:
It depends on which level you plan to use it:

-- Sikuli-IDE (Jython level)

import shutil
reg = Region(the-screen-area-you-want-to-capture)
img = capture(reg) # img is an image file .png in temp folder now
shutil.move(img, path-to-your-image-directory/image-name.png) # the target 
directory must exist

-- If you plan to use the Java API level:

https://answers.launchpad.net/sikuli/+question/151213

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