Question #261956 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261956
Status: Open => Answered
RaiMan proposed the following answer:
Sorry, currently no changeable default behaviour.
this trick works:
- in Prefs -> more activate "delete unused images"
- delete the icon you want to recapture
- save the script (if it is not used anywhere else in this script, the image
file will be deleted)
- recapture and use the old name
If you want to use the same image in more than one place, always use
image1 = "image1.png"
find(image1)
...
click(image1)
... do not copy and paste thumbnails or image file names, so one image
filename will only be used in one place and the above trick works.
version 2 will have more options for this.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp