-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp_switcher.ahk
More file actions
108 lines (87 loc) · 2 KB
/
Copy pathapp_switcher.ahk
File metadata and controls
108 lines (87 loc) · 2 KB
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
#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.
Menu, TRAY, Tip, App Switcher
NumpadEnd::
{
IfWinNotExist, ahk_class CabinetWClass
Run, explorer.exe
GroupAdd, taranexplorers, ahk_class CabinetWClass
if WinActive("ahk_exe explorer.exe")
GroupActivate, taranexplorers, r
else
WinActivate ahk_class CabinetWClass ;you have to use WinActivatebottom if you didn't create a window group.
}
Return
NumpadDown::
{
IfWinNotExist, ahk_exe chrome.exe
Run, chrome.exe
if WinActive("ahk_exe chrome.exe")
Sendinput ^{tab}
else
WinActivate ahk_exe chrome.exe
}
Return
NumpadPgDn::
{
IfWinNotExist, ahk_class Notepad++
Run, notepad++.exe
WinActivate ahk_class Notepad++
}
Return
NumpadLeft::
{
IfWinNotExist, ahk_exe Code.exe
Run, E:\Microsoft VS Code\Code.exe
WinActivate ahk_exe Code.exe
}
Return
NumpadClear::
{
IfWinNotExist, ahk_class vguiPopupWindow
Run, Steam.exe
WinActivate ahk_class vguiPopupWindow
}
Return
NumpadRight::
{
IfWinNotExist, ahk_exe Discord.exe
Run, C:\Users\cosmi\AppData\Local\Discord\Update.exe --processStart Discord.exe
WinActivate ahk_exe Discord.exe
}
Return
NumpadHome::
{
IfWinNotExist, ahk_exe obs64.exe
Run, F:\obs-studio\bin\64bit\obs64.exe
WinActivate ahk_exe obs64.exe
}
Return
NumpadUp::
{
IfWinNotExist, ahk_class gdkWindowToplevel
Run, F:\GIMP 2\bin\gimp-2.10.exe
WinActivate ahk_class gdkWindowToplevel
}
Return
NumpadPgUp::
{
IfWinNotExist, ahk_class wxWindowNR
Run, E:\Audacity\audacity.exe
WinActivate ahk_class wxWindowNR
}
Return
^!g::
{
IfWinNotExist, ahk_class TMainForm
Run, F:\DreamCalc DC5G\dreamcalc.exe
WinActivate ahk_class TMainForm
}
Return
^!v::
{
Run, ms-settings:apps-volume
}
Return