summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2013-10-10 22:46:25 +0100
committerbreadcat2013-10-10 22:46:25 +0100
commit2468be52a631fa90ad4a1391d5cdbe431250ff36 (patch)
treedb0fdf4680b18154c6d938a9d892c4a20ad110c9
parentdc26569e3b2c4495947ac1e47ee5a6e7df44dfe9 (diff)
downloadahka-2468be52a631fa90ad4a1391d5cdbe431250ff36.tar.gz
ahka-2468be52a631fa90ad4a1391d5cdbe431250ff36.tar.bz2
ahka-2468be52a631fa90ad4a1391d5cdbe431250ff36.zip
Add window split, taskbar hiding, secret includes
-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