← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #272260]: name of image passed to function

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Ok, if you want to do such more sophisticated things, you should be
aware, what is behind the image thumbnails in the IDE

- In the first case it is indeed an image file name (no badges)
- in the second case the image was processed with Preview and it is a Pattern now (Pattern("someImage.png").similar())

to let it work in all cases:
exit(str(image) + " not found")

with version 1.1.0 you can see, what code is behind the images:
in the menu View, there is a switch: Show Thumbnails (ctrl/cmd + t)

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