Created
January 18, 2011 10:52
-
-
Save ghthor/784288 to your computer and use it in GitHub Desktop.
keybindings/macros for darkages
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
; Boiler Plate | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
;SetMouseDelay 0 | |
; Staff Switch | |
; \ is the key that it is bound to | |
; Just flips to inventory and I keep my staff in slot 2 | |
; And then flips back to spell pane | |
$\:: | |
IfWinActive, Darkages | |
{ | |
Click | |
Send d | |
Send a | |
Send 2 | |
Send d | |
} | |
else | |
{ | |
Send \ | |
} | |
return | |
; Binds F5 to the mousewheel | |
; so you can walk super fast by just scrolling the mousewheel up as you walk | |
$WheelUp:: | |
IfWinActive, Darkages | |
{ | |
Send {f5} | |
Sleep 50 | |
} | |
else | |
{ | |
Send {WheelUp} | |
} | |
return | |
; Mass pickup Hotkey | |
; This hotkey works with the small windowed version | |
; It clicks all around the character to pick things on the ground up | |
$End:: | |
IfWinActive, Darkages | |
{ | |
MouseGetPos x, y | |
Send {Shift Down} | |
Click 340, 180, 2 | |
Click 400, 210, 2 | |
Click 400, 240, 2 | |
Click 340, 265, 2 | |
Click 230, 240, 2 | |
Click 230, 210, 2 | |
Click 285, 180, 2 | |
Click 285, 265, 2 | |
Click 340, 205, 2 | |
Click 367, 192, 2 | |
Click 369, 220, 2 | |
Click 343, 237, 2 | |
Click 364, 251, 2 | |
Click 313, 251, 2 | |
Click 285, 237, 2 | |
Click 260, 250, 2 | |
Click 260, 220, 2 | |
Click 290, 210, 2 | |
Click 260, 195, 2 | |
Click 328, 193, 2 | |
Send {Shift up} | |
MouseMove %x%, %y% | |
} | |
else | |
{ | |
Send {End} | |
} | |
return | |
; Omg Save Myself | |
$PgDn:: | |
IfWinActive, Darkages | |
{ | |
MouseGetPos x, y | |
Send 1 ; {ard, mor} ioc spell location | |
Click 317, 178 ; Click on self | |
Send 2 ; {dion location | |
MouseMove %x%, %y% | |
} | |
else | |
{ | |
Send {PgDn} | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment