-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpoehotkeys.ahk
60 lines (48 loc) · 1.06 KB
/
poehotkeys.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#NoEnv
#SingleInstance force
#Persistent
; /* poehotkeys.ahk */
#If WinExist("ahk_exe PathOfExileSteam.exe") OR If WinExist("ahk_exe PathOfExile_x64.exe")
{
GroupAdd, Client, ahk_exe PathOfExileSteam.exe
GroupAdd, Client, ahk_exe PathOfExile_x64.exe
Hotkey, IfWinActive, ahk_group Client
Hotkey, ^WheelUp, left
Hotkey, ^WheelDown, right
Hotkey, ^h, hideout
Hotkey, F2, remaining
Hotkey, F3, oss
Hotkey, $^g, mapmod
Hotkey, ~^LButton, alert
return
left:
SendInput {left}
Sleep 20
return
right:
SendInput {right}
Sleep 20
return
hideout:
SendInput {enter} /hideout {enter}
return
remaining:
SendInput {enter} /remaining {enter}
return
oss:
SendInput {enter} /oss {enter}
return
mapmod:
Send ^f
SendRaw "!tal d|f ph|gen|eec|`% ma|oj|f bur|hil".
return
alert:
ClipSaved := ClipboardAll
Send ^c
if InStr(clipboard, "Item Class: Maps") and RegExMatch(clipboard, "tal D|f Ph|gen|eec|`% ma|oj|Bur|hill")
SoundPlay, sound/Alert.mp3
Clipboard := ClipSaved
return
}
return
; @eduwz