← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #267500]: If image not found, set clipboard to "img not found"

 

Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

    Status: Open => Answered

RaiMan proposed the following answer:
try:
    reg.click(Image)
except
    App.setClipboard("image not found")
    exit()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.