File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed
Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ ; AutoHotKey - 1-Shot - TBIRD
2+ ; by Ben Howard - ben@buttonpusher.tv
3+
4+ #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
5+ ; #Warn ; Enable warnings to assist with detecting common errors.
6+ SendMode Event ; Thunderbird does not see 'Input' flavor Sends...
7+ SetWorkingDir %A_ScriptDir % ; Ensures a consistent starting directory.
8+
9+ ; ===== INITIALIZATION - VARIABLES ==============================================================
10+ ; Sleep shortcuts - use these to standardize sleep times. Change here to change everywhere.
11+ sleepShort = 333
12+ sleepMedium = 666
13+ sleepLong = 1500
14+ sleepDeep = 3500
15+
16+ ; ===== END OF AUTO-EXECUTE =====================================================================
17+ ; ===== MODIFIER MEMORY HELPER ==================================================================
18+ ; combine below with key and '::' to define hotkey
19+ ; e.g.- ^f1::Msgbox You pressed Control and F1
20+ ; #=Win | !=Alt | ^=Ctrl | +=Shift | &=combine keys | *=ignore other mods
21+ ; <=use left mod key| >=use right mod key | UP=fires on release
22+
23+ ; ===== MAIN HOTKEY DEFINITIONS HERE ============================================================
24+ WinActivate , ahk_exe thunderbird.exe
25+ Sleep , sleepShort
26+ Send , {Shift Down }
27+ Sleep , sleepShort
28+ Send , c
29+ Sleep , sleepShort
30+ Send , {Shift Up }
31+ ExitApp
Original file line number Diff line number Diff line change 1+ ; AutoHotKey - 1-Shot - TBIRD
2+ ; by Ben Howard - ben@buttonpusher.tv
3+
4+ #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
5+ ; #Warn ; Enable warnings to assist with detecting common errors.
6+ SendMode Event ; Thunderbird does not see 'Input' flavor Sends...
7+ SetWorkingDir %A_ScriptDir % ; Ensures a consistent starting directory.
8+
9+ ; ===== INITIALIZATION - VARIABLES ==============================================================
10+
11+ ; Sleep shortcuts - use these to standardize sleep times. Change here to change everywhere.
12+ sleepShort = 333
13+ sleepMedium = 666
14+ sleepLong = 1500
15+ sleepDeep = 3500
16+
17+ ; ===== END OF AUTO-EXECUTE =====================================================================
18+ ; ===== MODIFIER MEMORY HELPER ==================================================================
19+ ; combine below with key and '::' to define hotkey
20+ ; e.g.- ^f1::Msgbox You pressed Control and F1
21+ ; #=Win | !=Alt | ^=Ctrl | +=Shift | &=combine keys | *=ignore other mods
22+ ; <=use left mod key| >=use right mod key | UP=fires on release
23+
24+ ; ===== MAIN HOTKEY DEFINITIONS HERE ============================================================
25+ WinActivate , ahk_exe thunderbird.exe
26+ Sleep , sleepShort
27+ Send , {Control Down }
28+ Sleep , sleepShort
29+ Send , n
30+ Sleep , sleepShort
31+ Send , {Control Up }
32+ ExitApp
You can’t perform that action at this time.
0 commit comments