Re: [Sikuli-driver] [Question #208592]: Passing image to function problem

2012-09-30 Thread Launchpad Janitor
Question #208592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/208592 Status: Needs information = Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Needs information' state without activity for the last 15 days. -- You

[Sikuli-driver] [Question #208592]: Passing image to function problem

2012-09-14 Thread Andrew Ryaskov
New question #208592 on Sikuli: https://answers.launchpad.net/sikuli/+question/208592 Hi! I'm new to SIkuli X and my question is: How to pass an image in function for its future use there? Small example: ## def changeIconSizeTo(needSize): if find(1.png)

Re: [Sikuli-driver] [Question #208592]: Passing image to function problem

2012-09-14 Thread RaiMan
Question #208592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/208592 Status: Open = Needs information RaiMan requested more information: --1. use exists() instead of find() ... ... when having this in a condition, because exists() comes back with None (False) instead of