Created
July 21, 2018 15:59
-
-
Save elgatov/face27bc10c3a29359f1aa17d0b2ce73 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