-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapps.ahk
More file actions
45 lines (43 loc) · 856 Bytes
/
Copy pathapps.ahk
File metadata and controls
45 lines (43 loc) · 856 Bytes
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
FreeCommander(){
if WinExist("ahk_exe FreeCommander.exe ahk_class FreeCommanderXE.SingleInst.1")
{
WinActivate
Return
}
else
{
Run, "C:\Program Files (x86)\FreeCommander XE\FreeCommander.exe"
WinWait ahk_exe FreeCommander.exe ahk_class FreeCommanderXE.SingleInst.1
WinActivate
Return
}
}
VSCode(){
if WinExist("ahk_exe Code.exe")
{
WinActivate
Return
}
else
{
Run, "C:\Program Files\Microsoft VS Code\Code.exe"
WinWait ahk_exe Code.exe
WinMaximize
WinActivate
Return
}
}
WindowsTerminal(){
if WinExist("ahk_exe WindowsTerminal.exe")
{
WinActivate
Return
}
else
{
Run, wt
WinWait ahk_exe WindowsTerminal.exe
WinActivate
Return
}
}