summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--ahk-assistant.ahk26
2 files changed, 27 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 2401285..9e2a1db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
#http://www.naughter.com/qres.html
resswitch.exe
+
+#physical and ip address replacements
+secret.ahk \ No newline at end of file
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 09f47db..7833232 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -80,9 +80,31 @@ Capslock::Backspace
;remap logitech m570 buttons
XButton1::Send {Click 2} ;double click
XButton2::Send {MButton} ;wheel click
+#k:: ;split active and previous 2 windows side by side.
+{
+ Shift("R")
+ Send {AltDown}{Tab}{AltUp}
+ Shift("L")
+ Send {AltDown}{Tab}{AltUp}
+ return
+}
-;application specific hotkeys
-#Include, %A_ScriptDir%\appspecific.ahk ;too many to include in index, deserves separating
+#Include, %A_ScriptDir%\appspecific.ahk ;application specific hotkeys
+#Include, %A_ScriptDir%\secret.ahk ;physical and ip address completions
+
+;hide/show taskbar toggle
+#x::
+if toggle := !toggle
+ {
+ WinHide ahk_class Shell_TrayWnd
+ WinHide, Start ahk_class Button
+ }
+ else
+ {
+ WinShow ahk_class Shell_TrayWnd
+ WinShow, Start ahk_class Button
+ }
+return
;auto replace text with symbols