← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #272494]: Popup or Input box On Top

 

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

masuo posted a new comment:
I don't Know Mac, but I can display dialog box to front on Windows.
I always use addHotkey() in this case.


DialogBoxTitle =  "Sikuli Input"
def waitInput():
    popup("Do you stop script?", DialogBoxTitle)

def ComeBackDialogBox(event):
    App.focus(DialogBoxTitle)
    
Env.addHotkey(Key.UP, KeyModifier.CTRL, ComeBackDialogBox)
waitInput()

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