← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #670826]: 1.1.2 Screen.capture(region, 'name') not working

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
must be used as (only available in Python scripting):
capture(result,'result.png')

this stores the image in the scripts .sikuli folder.

Be aware: the actual name of the image will be _result.png.

the leading underscore takes care, that the image is not deleted at time
of script save (images not referenced in the script are purged in the
standard)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.