Re-use images captured before
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!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Stuart Ng for more information if necessary.