aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.programs.ahk24
1 files changed, 24 insertions, 0 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index 232999a..e64cb46 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -52,6 +52,30 @@ Loop, 5
SendInput, {WheelDown}
return
+#IfWinActive ahk_exe kompozer.exe
+
+^q::SendInput, !vd ; design
+^w::SendInput, !vs ; split
+^e::SendInput, !vh ; source
+^1::SendInput, !op1 ; heading 1
+^2::SendInput, !op2
+^3::SendInput, !op3
+^4::SendInput, !op4
+^5::SendInput, !op5
+^6::SendInput, !op6
+^p::SendInput, !opp ; paragraph
+^+b::SendInput, !ost ; strong
+^+i::SendInput, !ose ; emphasis
+^+-::SendInput, !ozr ; smaller
+^++::SendInput, !ozg ; smaller
+^+c::SendInput, !oso ; code
+^+t::SendInput, !osx ; tt
+^h:: ; horizontal rule
+SendInput, !ih
+Sleep, 100
+SendInput, <hr>{Tab}{Enter}
+return
+
#IfWinActive ahk_class KMeleon Browser Window
F3::SendInput, !{Left}