-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWindowHotKeys.ahk
55 lines (49 loc) · 1.51 KB
/
WindowHotKeys.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
#include Lib\Logging.ahk
#include Lib\TrayIcon.ahk
;--------------------------------------------------------------------------------
; ! {Alt}
; + {Shift}
; ^ {Ctrl}
; # {LWin} {RWin}
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
; Shift+Escape - Minimize Active window
+Esc::
LogText("Executing Shift+Escape:")
WinMinimize , A
return
;--------------------------------------------------------------------------------
; Win+\ - Invoke Desktop Tray Launcher Menu
#\::
LogText("Executing Win+\: for DesktopTrayLauncher.exe")
TrayIcon_Button("DesktopTrayLauncher.exe")
return
;--------------------------------------------------------------------------------
; Firefox
#If WinActive("ahk_exe firefox.exe")
; F9 - Hide images
F9::
LogText("Executing F9: firefox.exe")
Send !t
Sleep, 100
Send w w {Enter} i m
return
#if
;--------------------------------------------------------------------------------
; Notepad++
#If WinActive("ahk_exe notepad++.exe")
; Ctrl+F4 = Ctrl+W - Close current file
^F4::
LogText("Executing Ctrl+F4: notepad++.exe")
Send ^w
return
#if
;--------------------------------------------------------------------------------
; Opera
#If WinActive("ahk_exe opera.exe")
; F12 = Ctrl-Shift-C - Open Debug Inspector
F12::
LogText("Executing F12: opera.exe")
Send ^+I
return
#if