summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter2015-01-08 22:49:16 +0000
committerPeter2015-01-08 22:49:16 +0000
commitc4bcea14681612f60b4e1ea044c246e78e73ac42 (patch)
tree5d86e574759d54be7d0974727f34e0d3d56fa765
parentcce69da5ddc9ff839fffab98c6af102afce69fe1 (diff)
downloadahka-c4bcea14681612f60b4e1ea044c246e78e73ac42.tar.gz
ahka-c4bcea14681612f60b4e1ea044c246e78e73ac42.tar.bz2
ahka-c4bcea14681612f60b4e1ea044c246e78e73ac42.zip
Add firefox keys, add if exist to include
-rw-r--r--ahk-assistant.ahk3
-rw-r--r--appspecific.ahk7
2 files changed, 9 insertions, 1 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index d1676cb..5ee9852 100644
--- 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
index 1abdb47..46fa65d 100644
--- 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