From c4bcea14681612f60b4e1ea044c246e78e73ac42 Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 8 Jan 2015 22:49:16 +0000 Subject: Add firefox keys, add if exist to include --- ahk-assistant.ahk | 3 ++- appspecific.ahk | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3