-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path01 - WASD Scrolling.ahk
36 lines (29 loc) · 1.1 KB
/
01 - WASD Scrolling.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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; -------------------------Script Controls----------------------------
^!Numpad0:: ;reloads script, displays tooltip
TrayTip ,-Reloading-, %A_ScriptName%, 2, 16
sleep 2000
HideTrayTip ()
Reload
Return
!NumpadSub:: ;kills script, displays tooltip
TrayTip , Attempting to -KILL-, %A_ScriptName%, 3 , 16
sleep (2500)
HideTrayTip ()
ExitApp
Return
^Numpad0::num=0 ;reset Extension to beginning of script
; --------------------------------------------------------------------
; --------------------------------------------------------------------
;reassigning the arrow keys, and using space for 'next turn'
a::left
s::down
d::right
w::up
; XButton1::NumpadSub
; XButton2::NumpadAdd
; Space::Enter ;Makes Space=Enter(next turn)
;end of script