Skip to content

Instantly share code, notes, and snippets.

@andreberg
Last active June 21, 2022 18:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreberg/9333543 to your computer and use it in GitHub Desktop.
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
#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