aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.programs.ahk32
1 files changed, 28 insertions, 4 deletions
diff --git a/tt.programs.ahk b/tt.programs.ahk
index 78a2332..10844b6 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -35,12 +35,10 @@ WheelDown::Down
F2::Gosub, TrayRebuild ; rebuild scripts.ahk
-#IfWinActive ahk_class MozillaWindowClass
+#IfWinActive ahk_exe firefox.exe ahk_class MozillaWindowClass
-!s::^k
^'::^g
-F3::SendInput, !{Left}
-F4::SendInput, !{Right}
+
F1::SendInput, {WheelUp}
F2::SendInput, {WheelDown}
!F1::
@@ -52,6 +50,32 @@ Loop, 5
SendInput, {WheelDown}
return
+F3::SendInput, !{Left}
+F4::SendInput, !{Right}
+
+; No stylesheet
+F8::SendInput, {Alt}{Right}{Right}{Down}{Down}{Down}{Down}{Right}{Enter}
+; First stylesheet
+F9::SendInput, {Alt}{Right}{Right}{Down}{Down}{Down}{Down}{Right}{Down}{Enter}
+
+!F8::
+SendInput, {LButton}{LButton}{LButton}^f
+Sleep, 100
+SendInput, {Alt}{Right}{Right}{Down}{Down}{Down}{Down}{Right}{Enter}
+Sleep, 100
+SendInput, ^g{Delete}{Escape}
+return
+!F9::
+SendInput, {LButton}{LButton}{LButton}^f
+Sleep, 100
+SendInput, {Alt}{Right}{Right}{Down}{Down}{Down}{Down}{Right}{Down}{Enter}
+Sleep, 100
+SendInput, ^g{Delete}{Escape}
+return
+
+; Default window size
+F10::WinMove, A,,,, 1211, 1118
+
#IfWinActive ahk_class KMeleon Browser Window
F3::SendInput, !{Left}