← Back to team overview

sikuli-driver team mailing list archive

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

 

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() # clicks last match

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.