← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #273398]: Is these a way to obtain variable data types in IDE Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
for Region:
isinstance(picList,Region)

for Match (result of a search)
isinstance(picList,Match)

for a Pattern (image with a minimum similarity and/or target offset specified)
isinstance(picList,Pattern)

...  modify the similarity of the image thumbnail data type.
to do this visually use the Preview (click on thumbnail)

or do it textually, by switching the script editor to text view (and
back afterwards) with the menu View -> Show thumbnails

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