-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathforElex.ahk
74 lines (58 loc) · 999 Bytes
/
forElex.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
;for AHK 1.1.34.04
;by cheva (c) MIT 2012-2023
SoundPlay %A_WinDir%\Media\Windows Message Nudge.wav
;reload
$^+R::Reload
;suspend/resume
$^+S::
;pause/resume
$^+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!-----
; Run
$!W::
; run
Send, {W Down}
Send, {LShift Down}
return
; Combo
$E::
Send, {LButton}
Send, {E}
return
; PageDown to skip dialogues
$PgDn::
Send, {PgDn}
Send, {RButton}
return
; PageUp to Backspace and Esc
$PgUp::
Send, {PgUp}
Send, {Backspace}
Send, {Esc}
return
; Reset
$Z::
$+Z::
$^+Z::
BreakLoop := 1
Send, {Z}
Send, {RButton Up}
Send, {LShift Up}
Send, {W Up}
SoundPlay %A_WinDir%\Media\Windows Navigation Start.wav
return