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,
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 =
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
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
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.
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
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
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
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
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.
___
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
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
12 matches
Mail list logo