← 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

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry, no easy way.

With some basic Java knowledge you might create your own popup and input
dialogs that are forced to be always on top.

or use something like this (tested on OS X 10.11 with final version
1.1.0):

switchApp("Safari")

def myPopup(message, app):
  switchApp("SikuliX")
  popup(message)
  switchApp(app)

def myInput(message, app):
  switchApp("SikuliX")
  ret = input(message)
  switchApp(app)
  return ret

myPopup("can you see me", "Safari")
print myInput("can you see me", "Safari")

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