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

    Status: Open => Answered

RaiMan proposed the following answer:
with current version, you have to use a Java feature

import javax.swing.JOptionPane as JOP

answer = JOP.showConfirmDialog(None, "some informative text", "Pls. decide!", 
JOP.YES_NO_OPTION)
if answer ==  JOP.YES_OPTION:
    print "it was a YES"
else:
    print "it was a NO"

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to