Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-30 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Answered => Solved xyz_User confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-29 Thread Manfred Hampl
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Open => Answered Manfred Hampl proposed the following answer: Has to be if exists(Pattern(image1).similar(0.85)): instead of if Pattern(image1).similar(0.85): -- You received this quest

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-29 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Solved => Open xyz_User is still having a problem: def find_img_custom_location(): image1 = r"C:\temp\test_image.png" if Pattern(image1).similar(0.85): click(image1) This works

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-29 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 xyz_User confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-29 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Answered => Solved xyz_User confirmed that the question is solved: Thank you, you are always kind to the nubs! -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-29 Thread RaiMan
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Open => Answered RaiMan proposed the following answer: The docs would have helped: Pattern(Image).similar(...) -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-28 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 xyz_User gave more information on the question: Tried to add .similar(0.85) if exists(image1).similar(0.85): click() # clicks last match failed.. -- You received this question notification be

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-28 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Answered => Open xyz_User is still having a problem: One more thing if i can RaiMan: Is there any way to give that image a match higher then the standard 0.70% | As it's on a local directory I'm

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-25 Thread RaiMan
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Open => Answered RaiMan proposed the following answer: - check wether the image is available in the directory - absolute path - double-back-slash or r"..." with single backslash post what you ha

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-24 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Solved => Open xyz_User is still having a problem: Strange if i set any other directory i get: [error] Image: Image not valid, but TextSearch is switched off! -- You received this question not

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-23 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Answered => Solved xyz_User confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answ

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-21 Thread RaiMan
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Open => Answered RaiMan proposed the following answer: def find_img_custom_location(): image1 = r"C:\temp\test_image.png" # ... or double backslash if exists(image1): click() # cl

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-20 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Description changed to: Is it possible for me to set a custom image path for just one function in the script? Meaning when it's calling that function it searches for images in that function at a different lo

Re: [Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-20 Thread xyz_User
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Description changed to: Is it possible for me to set a custom image path for just one function in the script? Meaning when it's calling that function it searches for images in that function at a different lo

[Sikuli-driver] [Question #692503]: Custom image path for 1 function

2020-08-20 Thread xyz_User
New question #692503 on Sikuli: https://answers.launchpad.net/sikuli/+question/692503 Is it possible for me to set a custom image path for just one function in the script? Meaning when it's calling that function it searches for images in that function at a different location then the default si