← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236908]: How to capture image of a region in the script?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
img = capture(<a valid region>)

img is a png file in temp storage at that moment.

You might use it in subsequent image based operations (find, click,
Finder, ...) or save it to a place of your choice using shutil.move()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.