-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathforPOE.ahk
119 lines (108 loc) · 1.89 KB
/
forPOE.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
;for AHK 1.1.34.04
;by cheva (c) MIT 2012-2024
global BreakLoop = 0
SoundPlay %A_WinDir%\Media\Windows Message Nudge.wav
;reload
$^+R::Reload
;suspend/resume
;pause/resume
$^+S::
$^+P::
;use both to sleep/pause
;thanks to Rohwedder
;https://www.autohotkey.com/boards/viewtopic.php?t=50594
Suspend ;Suspend Hotkeys
Pause,,1 ;Pause Script
If !(Reload := !Reload)
Reload ;Reload Script
Return
;exit
$^+W::
Send, {^+W}
SoundPlay %A_WinDir%\Media\Windows Logoff Sound.wav
Sleep, 1000
ExitApp
return
;-----Let's play!-----
; Jump to Hideout on F5
$F5::
Send, {Enter}
Send, /hideout
Sleep, 20
Send, {Enter}
return
; Reset XP counter
$^/::
Send, {Enter}
Send, /reset_xp
Sleep, 20
Send, {Enter}
return
; List passives in chat window
$^p::
Send, {Enter}
Send, /passives
Sleep, 20
Send, {Enter}
; Spacebar mapping
$Space::
; Close windows / press Spacebar
Send, {Space}
; Use 3rd skill
Send, {MButton}
Sleep, 100
Send, {T}
return
; Jump!!! Shift + action
; Left or right mouse is down when shift pressed
$LShift::
; + Clicked
; Blink: "R" + "5" flask
GetKeyState, Lst, LButton
GetKeyState, Rst, RButton
if (Lst = "D" or Rst = "D") {
Send, {R}
Sleep, 20
Send, {5}
}
return
; Flasks macro
;$1::
$2::
;$3::
;$4::
;$5::
Send, 1
Send, 2
Send, 3
Send, 4
; Send, 5
return
; run clicker loop
#IfWinActive, Path of Exile
$^Backspace::
BreakLoop := 0
Loop, 1000 {
Send ^{Click}
Sleep, 100
; hold Backspace to break loop
if (BreakLoop == 1 or GetKeyState("Backspace", "P")) {
BreakLoop := 0
break
}
}
return
; run control+shift clicker loop
#IfWinActive, Path of Exile
$+^Backspace::
BreakLoop := 0
Loop, 1000 {
Send +^{Click}
Sleep, 100
; hold Backspace to break loop
if (BreakLoop == 1 or GetKeyState("Backspace", "P")) {
BreakLoop := 0
break
}
}
return