sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29732
Re: [Question #259229]: Not able to rename images
Question #259229 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/259229
Status: Open => Answered
RaiMan proposed the following answer:
This is a problem in 1.0.1:
If you do the renaming in the IDE, with the respective Preview tab, then it should work for on image usage like
image1 = "image1.png"
and later you use image1 instead of "image1.png" when reused somewhere
else.
if you reuse "image1.png" (same thumbnail) and rename in one occurrence,
then all the other usages will fail, since they are still named
"image1.png", which only at run or reload gets obvious.
In version 1.1.0 the renaming also in the second case works as expected:
if you rename "image1.png" to "image2.png" in one place, all occurrences of "image1.png" in the script will be changed as well.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.