← Back to team overview

sikuli-driver team mailing list archive

[Question #164207]: Re-use images captured before

 

New question #164207 on Sikuli:
https://answers.launchpad.net/sikuli/+question/164207

Is there a way to re-use an image capture before?

For example, I have automated script A to click certain buttons on screen. Now, I need to automated script B which interacts with the same button. How would I accomplish this without having to recapture the same button twice?

It seems everything related to a script (python, html, png) are all stored in a folder, and different scripts have different folders.

Also, even if I want to interact with the same button twice in the same script, I can't do it in the IDE. (i.e. can not copy and paste the images and re-use for different commands like wait and click). I basically had to go into the python code and copy and paste the code myself.

Thanks!

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