; **!! IMPORTANT READ LINES WITH **!! TO GET THIS WORKING PROPERLY
; **!! YOU WILL NEED CPORTS FOR LOGOUT MACRO TO WORK, READ ABOUT IT BELOW
; Any text after a ;semicolon on a line is considered as noncode to make comments like these.
; Latest AutoHotKey can be downloaded at
http://ahkscript.org/; Look up other commands/code/explanations etc on
http://ahkscript.org/docs/AutoHotkey.htm if needed.
; I highly recommend the script PoeItemInfo for all Item related things
http://www.pathofexile.com/forum/view-thread/790438; =================================
; ====== Script Settings ======
; =================================
; Sets a custom trayicon poe.ico located in the same folder as the script
; **!!IMPORTANT Put a ; before the code if no custom icon exists or is wanted !!**
Menu, Tray, Icon, %A_ScriptDir%\poe.ico
; Any code/commands below these two lines will only execute if PoE is running.
SetTitleMatchMode 3
#IfWinActive Path of Exile
; ==================================
; ====== Script Macros =======
; ==================================
; For Hotkey combinations like ctrl/shift/alt+key see
http://ahkscript.org/docs/Hotkeys.htm ; ================ logout
; **!!IMPORTANT READ THIS SEGMENT BELOW
; Works during loadingscreens or heavy client freezes unlike mousecoord macros.
; Terminates poe's connection with cports.exe from
http://www.nirsoft.net/utils/cports.html and forces a logged out state.
; See discussion at
http://redd.it/31qzdn for data on logout delays/timings and about cports.exe
; **!!Location of cports.exe must be the same folder as the script.
; **!!The script might need to be run as Administrator to be able to run cports.exe
; Normal: PathOfExile.exe Steam: PathOfExileSteam.exe
§::
SetWorkingDir %A_ScriptDir%
Run cports.exe /close * * * * PathOfExile.exe
Run cports.exe /close * * * * PathOfExileSteam.exe
return
^WheelUp:: ;====== ctrl+scrollup sends left to client to scroll within stashtabs wihtout having to hover over them.
SendInput {Left}
return
^WheelDown:: ;==== ctrl+scrolldown sends right to client to scroll within stashtabs wihtout having to hover over them.
SendInput {Right}
return
^1:: ;============ invites the last person you got a whisper from
Sendinput ^{enter}{home}{delete}/invite {enter}{enter}{up}{up}{escape}
return
^2:: ;============ trades with the last person you got a whisper from
Sendinput ^{enter}{home}{delete}/tradewith {enter}{enter}{up}{up}{escape}
return
^3:: ;============ enter the hideout of the last person you got a whisper from
Sendinput ^{enter}{home}{delete}/hideout {enter}{enter}{up}{up}{escape}
return
^Q:: ;============ sends a custom reply to the last person you got a whisper from
Sendinput ^{enter}thanks, stay safe{!}{enter}{enter}{up}{up}{escape}
return
^W:: ;============ sends a custom reply to the last person you got a whisper from
Sendinput ^{enter}Name and b/o on the item?{enter}{enter}{up}{up}{escape}
return
^E:: ;============ sends a custom reply to the last person you got a whisper from
Sendinput ^{enter}Mapping, checking back soon{enter}{enter}{up}{up}{escape}
return
F1:: ;============ /oos
sendinput {enter}/oos{enter}{enter}{up}{up}{escape}
return
F2:: ;============ /remaining
sendinput {enter}/remaining{enter}{enter}{up}{up}{escape}
return
^F2:: ;=========== /abandon_daily
sendinput {enter}/abandon_daily{enter}{enter}{up}{up}{escape}
return
F3:: ;============ /global 5055
sendinput {enter}/global 5055{enter}{enter}{up}{up}{escape}
return
F4:: ;============ /global 820
sendinput {enter}/global 820{enter}{enter}{up}{up}{escape}
return
F5:: ;============ /hideout
SendInput {enter}/hideout{enter}{enter}{up}{up}{escape}
return
F6:: ;============ friend1 /hideout
sendinput {enter}/hideout MinickarnII{enter}{enter}{up}{up}{escape}
return
F7:: ;============ friend2 /hideout
sendinput {enter}/hideout LetBuggenfuckinglive{enter}{enter}{up}{up}{escape}
return