Push/Pop and addImagePath
To avoid name clashes and simplify development all of my screenshots are organized as Project/
Sometines there can be intersection as in
Project/
Project/
therefore I use a pattern everywhere:
A module.py contains a part of the path to add while searching for its images and invokes search function as
findEntity(
which is in the function used as:
addImagePat
....
remove imagePath(path)
repeated everywhere. This does resolve any possible name clashes but this removeImagePath seems excessive.
I kinda remember OpenGL programming where you could glPushContext/
Can we have stuff like that for imagePath in sikuli?
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 Zeks for more information if necessary.