map f:: but keep all original hotkeys with +^!f
Posted 06 April 2012 - 08:27 AM
I want to map f::<smth> in an application.
But want to retain the original application hotkeys like ^f. (if I press ^f it invokes the <smth>). Is there an option to map just the key, but not substitute it to <smth> when it is used with modifiers?
Posted 06 April 2012 - 03:44 PM
f::Send smth !+f::MsgBox ; Press ctrl+f in an application; it works.
Posted 07 April 2012 - 06:00 AM
Posted 08 April 2012 - 06:59 AM
I made this work, but I just had to remap the ^f, which doesn't seem like a clean solution..
#IfWinActive ahk_class SUMATRA_PDF_FRAME n::j e::k ~f::^+l ^f::^f #IfWinActiveIf I remove the ^f mapping, ctrl_f first invokes the f: mapping (fullscreen), but then works as ctrl_f (find).