commit c4bcea14681612f60b4e1ea044c246e78e73ac42
parent cce69da5ddc9ff839fffab98c6af102afce69fe1
Author: Peter <sendforththegunboats@gmail.com>
Date: Thu, 8 Jan 2015 22:49:16 +0000
Add firefox keys, add if exist to include
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
@@ -18,7 +18,7 @@ SetNumLockState, AlwaysOn
;includes
#Include, %A_ScriptDir%\appspecific.ahk ;application specific hotkeys
-#Include, %A_ScriptDir%\secret.ahk ;physical and ip address completions
+#Include, *i %A_ScriptDir%\secret.ahk ;physical and ip address completions, only included if exists.
;hotkeys
#q::Run notepad
@@ -150,6 +150,7 @@ if toggle := !toggle
;text replacements
::seperated::separated
+::seperate::separate
::recieved::received
::license::licence
::licenses::licences
diff --git a/appspecific.ahk b/appspecific.ahk
@@ -96,6 +96,13 @@
^d::Send ^f ;bookmark remapped to find
^b::Send ^v ;replace bookmarks with paste
f6::Send ^l ;F6 jumps to address bar
+ ^+o::Send {AltDown}t<{AltUp}o ;ctrl+shift+o option
+ #o::
+ StringReplace, clipboard, clipboard, %A_SPACE%, , All ;remove spaces, basic validation
+ StringReplace, clipboard, clipboard, `r, , All ;remove lines, sometimes overflows :/
+ StringReplace, clipboard, clipboard, `n, , All ;remove lines, sometimes overflows :/
+ Send, ^c^t^v{Enter} ;copy selected uri and open, right click option fails to recognise ~50% of what I try
+ return
#IfWinActive
#IfWinActive ahk_class Notepad2 ;notepad2-mod