← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #239578]: Search for images other than current .sikuli folder

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
This is easier (since it manages image path for you):

# Bluetooth.sikuli
import images
find("SY.png")
click("SY.png")

images.sikuli must contain
from sikuli import *

as first line

Sikuli's import support adds images.sikuli to the image path
automatically.

If this does not work as expected, you have to upgrade to version 1.0.1
(since there are some bugs in RC3 in this area).

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