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

RaiMan proposed the following answer:
... again as real Python ;-)

def myInput (title, msg):
    ret = JO.showConfirmDialog(null, msg, title, JO.YES_NO_OPTION)
    if ret == JO.CLOSED_OPTION or ret == JO.NO_OPTION:
        return False
    return True

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to