sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03893
Re: [Question #164207]: Re-use images captured before
Question #164207 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/164207
Status: Open => Answered
Rod Tietjen proposed the following answer:
The way I have been able to do this is to copy the command from Script A
to Script B. This results in a command like click('somepic.png')
appearing in the ide. The I have to open the ScriptA.sikuli folder and
copy that .png to ScriptB.sikuli folder. Time consuming and annoying, I
typically just recapture the image and more forward with that instead.
For reusing the image again in the same script, in the IDE I have been
able to copy the orginal command and then paste it reusing the saved
image on Windows, Mac and linux. I am uncertain why that does not work
for you.
In my testing I have a adobe flash element that has a next button for
navigation. I reuse that image close to 40 times per script.
Hope that helps,
Rod Tietjen
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.