Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-24 Thread Parn Yin
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Status: Answered = Solved Parn Yin confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers,

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-24 Thread Parn Yin
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Parn Yin posted a new comment: I still can't get the expected result I want. But I found another stupid way to fix that: def set_screenshot_path(my_screenshot_path): my_screenshot_path =

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-24 Thread RaiMan
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 RaiMan posted a new comment: Uuups, that looks really strange ;-) again pythonized: assuming my_screenshot_path is a global variable: def set_screenshot_path(path): global my_screenshot_path

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-24 Thread RaiMan
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 RaiMan posted a new comment: sorry, forgot to correct: my_screenshot_path = repr(path).replace(, \\).strip(') raw strings r cannot have trailing \ -- You received this question notification

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-24 Thread Parn Yin
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Parn Yin posted a new comment: Thanks again, RaiMan! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-23 Thread RaiMan
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Status: Open = Answered RaiMan proposed the following answer: Since getBundlPath returns a string, str() is not needed: your def() a little bit pythonized ;-) def

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-23 Thread Parn Yin
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Status: Answered = Open Parn Yin is still having a problem: Yeah, pythonized... thank you RaiMan! In fact I don't have any programming experience before studying Python. What you taught me help me to

[Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-22 Thread Parn Yin
New question #232844 on Sikuli: https://answers.launchpad.net/sikuli/+question/232844 For example, suppose I have put some screenshots under different folders under C:\Test: C:\Test\Cat C:\Test\Login C:\Test\Module1 C:\Test\Module2 ... Then I use setBundlePath to set the C:\Test as my

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-22 Thread RaiMan
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Status: Open = Answered RaiMan proposed the following answer: - the standard place, Sikuli looks for given images is in the bundle path, which is the folder of the source (xxx.sikuli) - you can get

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-22 Thread RaiMan
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Assignee: None = RaiMan -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-22 Thread Parn Yin
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Status: Answered = Open Parn Yin is still having a problem: Excuse me RaiMan, could you please kindly help me when you have time? Thank you. -- You received this question notification because you are

Re: [Sikuli-driver] [Question #232844]: Can Sikuli search the sub-folders to find screenshots?

2013-07-22 Thread Parn Yin
Question #232844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/232844 Parn Yin posted a new comment: Hi RaiMan, I see. Thank you for the quick and detailed explanation!!! By the way, I have another python question. Sorry, I just have been started to learn python since last