-
Notifications
You must be signed in to change notification settings - Fork 1
/
Deep_Rock_Galactic - Copie.ahk
74 lines (66 loc) · 1.09 KB
/
Deep_Rock_Galactic - Copie.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
#SingleInstance force
#Persistent
;SetCapsLockState, AlwaysOff
;SetScrollLockState, AlwaysOff
Process, Priority, , A
SetTitleMatchMode, 2
/*; Monitoring Windows
{ ; Monitoring Windows
BlockInput, On
KeyHistory
WinGetActiveTitle, Title
WinWait, %Title%
SetKeyDelay 0, 32
Send {Lwin down}{Right}{Right}{Right}{Right}{Lwin up}{LControl down}{k}{LControl Up}
#IfWinExist Event Tester
{
WinClose Event Tester
Run, C:\Program Files (x86)\Thrustmaster\TARGET\Tools\EventTester.exe
WinWait, Event Tester
SetKeyDelay 0, 32
Send {Lwin down}{Right}{Right}{Lwin up}{esc}{esc}{esc}{esc}
Sleep 32
MouseClick, left, 1952, 71
MouseClick, left, 2016, 96
BlockInput, Off
return
}
#IfWinExist
}
*/
{ ; AutoHotKey Script option.
#F2::Suspend, Toggle
#F4::ExitApp
}
#IfWinActive Deep Rock Galactic
*WheelUp::
{
If GetKeyState("Tab")
{
Send {WheelUp}
Return
}
Else
{
SetkeyDelay, 0, 32
Send {SC002}
Sleep 100
Return
}
}
*WheelDown::
{
If GetKeyState("Tab")
{
Send {WheelDown}
Return
}
Else
{
SetkeyDelay, 0, 32
Send {SC004}
Sleep 100
Return
}
}
#IfWinActive