← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #234525]: [1.0.1] Images using absolute paths are corrupted at script save/reload - pathname is stripped

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
This is a bug and there is no workaround without changing the scripts.

In your case (having one central defined place for the images, you could add at the beginning of the corrupted scripts:
setBundlePath(<path-to-your-repo>)

and the images would be found again at runtime at least.

But it is still not possible (though on the list), to tell the IDE where
to store/load the images at script edit time.

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