Settings.MoveMouseDelay = 0.0
Running = True
def DoIt(event):
global Running
Running = False
Env.addHotkey(Key.F1, KeyModifier.CTRL, DoIt)
atitd = switchApp("A Tale in the Desert")
while Running and exists(
):
click(
)
if Running and exists(
):
click(
)
click(
)
click(
)
wait(1.0)
if Running and exists(
):
click(
)
while Running and not exists(
):
click(
)
if Running and exists(
):
click(
)
if Running and exists(
):
click(
)
while Running and not exists(
):
wait(1.0)
else:
click(
)
if Running and exists(
):
click(
)
Running = False
exit()