← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251638]: Creating confirmation dialogue

 

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

    Status: Answered => Open

Leonardo Carvalho Sobral dos Santos is still having a problem:
Hi RaiMan,

I tryed your answer and sikuli returned error.

ret = popAsk("question", "some dialog title")

if ret:
    print "User said yes"
else:
    print "User said no or closed the dialog box"

'''[error] script [ Projetos ] stopped with error in line 1'''
'''[error] NameError ( name 'popAsk' is not defined )'''

Have some additional import.
What can I do?

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