aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-12-21 20:47:15 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-12-21 20:47:15 +0100
commit5a7422ffe48c3183d3a534591fda346991eae245 (patch)
treea4a692363e790847bb30b001c1d3af351bffc774
parentd6fd7343cb50fd7e22b595378a359a28062e5e70 (diff)
downloadahk-5a7422ffe48c3183d3a534591fda346991eae245.tar.gz
programs: Add KompoZer hotkeys
-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}