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