Created
July 21, 2018 15:59
-
-
Save elgatov/51a152cb3f908b830127ef86eee1d7bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Settings.MoveMouseDelay = 0 | |
Settings.ClickDelay = 250 | |
#Settings.WaitScanRate = 0.5 | |
#Settings.ObserveScanRate = 0.250 | |
#Settings.MinSimilarity = 0.75 | |
# using an existing window if possible | |
#ro = App("Ragnarok Online Island | Gepard Shield 3.0 (^-_-^)") | |
#ro = App("Ragnarok Online Island") | |
ro = App("ragexe_island.exe") | |
ro.window() | |
ro.focus() | |
#ro.focusedWindow().highlight(2) | |
with Region(ro.window()): | |
while (1): | |
if exists("1532186436433.png"): | |
click() | |
wait(10) | |
else: | |
type(Key.F1) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment