summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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