def exit(code=0): global remoteScreen if remoteScreen: remoteScreen.close() remoteScreen = None SikuliX.cleanUp(code) sys.exit(code)
def run(cmd): return SikuliX.run(cmd)
def inputText(msg="", title="", lines=0, width=0): return SikuliX.input(msg, title, width, lines)
def input(msg="", default="", title="", hidden=False): if (hidden): default = "" return SikuliX.input(msg, default, title, hidden)
def popup(msg, title="Sikuli"): SikuliX.popup(msg, title)