示例#1
0
def exit(code=0):
    global remoteScreen
    if remoteScreen:
      remoteScreen.close()
      remoteScreen = None
    SikuliX.cleanUp(code)
    sys.exit(code)
示例#2
0
def shelp():
    SikuliX.shelp()
示例#3
0
def run(cmd):
    return SikuliX.run(cmd)
示例#4
0
def inputText(msg="", title="", lines=0, width=0):
    return SikuliX.input(msg, title, width, lines)
示例#5
0
def input(msg="", default="", title="", hidden=False):
    if (hidden):
      default = ""
    return SikuliX.input(msg, default, title, hidden)
示例#6
0
def popup(msg, title="Sikuli"):
    SikuliX.popup(msg, title)
示例#7
0
def exit(code=0):
    SikuliX.cleanUp(code)
    sys.exit(code)