← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #245127]: [sikuli-java] Updating BundlePath

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
with RC3
org.sikuli.script.ImageLocator.addImagePath(String);

and with 1.0.1 it is
org.sikuli.basics.ImageLocator.addImagePath(String);

String must be a complete absolute path string

// additionally you have
removeImagePath(String)
getImagePath() // returns an array of strings

// sets the first path in the array
setBundlePath(String) 

// the same but deletes the rest
resetImagePath(String)

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