Last active
June 21, 2022 18:16
-
-
Save andreberg/9333543 to your computer and use it in GitHub Desktop.
[Path of Exile Autohotkey Macros] Shows how to bind some (really outdated!) commands to hotkeys. #pathofexile #poe #ahk #autohotkey #macros
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
#IfWinActive, Path of Exile ahk_class Direct3DWindowClass | |
#SingleInstance force | |
; Menu tooltip | |
Menu, tray, Tip, Path of Exile Macros | |
; NOTE: Adjust this path so it is correct. | |
; If you are using my PoE-Item-Info script you can find | |
; the tray icons inside its data directory. | |
Menu, tray, Icon, PoE Item Info\data\poe-web.ico | |
F2::Oos() ; | |
F3::Remaining() ; | |
F4::LogOut() ; | |
F5::ItemLevel() ; | |
ItemLevel(){ | |
BlockInput On | |
Send {LButton} | |
Send {Enter} | |
Sleep 2 | |
Send /itemlevel | |
Send {Enter} | |
Sleep, 75 | |
Send {LButton} | |
BlockInput Off | |
return | |
} | |
Oos(){ | |
BlockInput On | |
Send {Enter} | |
Sleep 2 | |
Send /oos | |
Send {Enter} | |
BlockInput Off | |
return | |
} | |
LogOut(){ | |
BlockInput On | |
SetDefaultMouseSpeed 0 | |
sendinput {esc} | |
MouseClick, left, 940, 480, 1, 1 | |
BlockInput Off | |
return | |
} | |
Remaining(){ | |
BlockInput On | |
Send {Enter} | |
Sleep 2 | |
Send /remaining | |
Send {Enter} | |
BlockInput Off | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment