Last active
August 29, 2015 14:16
-
-
Save rizzn/2e9d8a571e8cec8dd187 to your computer and use it in GitHub Desktop.
H1Z1DB_v1.1.0.0.au3
This file contains 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
; | |
;H1Z1DB AutoUpdater for: http://www.h1z1db.net/h1z1_upload_manager.php | |
; | |
;This is an external(!) AutoIt script to automate the process for the H1Z1DB Upload Manager. | |
; | |
;Use it on your own risk! | |
; | |
#include <Misc.au3> | |
#pragma compile(Out, H1Z1DB AutoUpdater.exe) | |
;#pragma compile(Icon, _icon.ico) | |
#pragma compile(FileVersion, 1.1.0.0) | |
#pragma compile(LegalCopyright, rizzn) | |
#pragma compile(ProductName, H1Z1DB AutoUpdater) | |
#pragma compile(ProductVersion, 1.1.0.0) | |
HotKeySet("y", "updateLocation") | |
While 1 | |
Sleep(100) | |
WEnd | |
Func updateLocation() | |
ToolTip("Busy...") | |
Opt("SendKeyDownDelay", 50) | |
Send("{ENTER}") | |
Send("/loc") | |
Send("{ENTER}") | |
Send("m") | |
Local $clip = ClipPut("") | |
;Resolution: 1920x1080 | |
MouseClickDrag("left", 215, 1017, 15, 998) | |
;Resultion: 1600x900 | |
;MouseClickDrag("left", 248, 838, 13, 817) | |
;Resultion: 1280x720 | |
;MouseClickDrag("left", 87, 658, 14, 616) | |
;Resultion: 800x600 | |
;MouseClickDrag("left", 211, 538, 13, 496) | |
Send("^c") | |
Sleep(300) | |
MouseClick("left", 500, 965, 1) | |
Send("m") | |
Tooltip("") | |
EndFunc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment