How could I create a new keyboard shortcut to merge other shortcuts?
In particular I would like to merge ⌘ CommandC, ⌘ CommandF, ⌘ CommandV (Copy, Find and Paste) – would be useful for instance for Safari.
(a quick way could be automator, but I don't have much experience…maybe this post could help?)
A good example would be the use selection for find
(⌘ CommandE) feature that exists in preview.
Thanks for your help.
Best Answer
I have found a funny way to do this with Karabiner installed.
Add this to your private.xml:
Then enable it in Change Key > command sequence > Option-R
A single key press on the right option key will evoke the cascade of command-C/F/V shortcuts.
This doesn't work in Sierra (because Karabiner still isn't Sierra compatible) and depending on the responsiveness of your app you may have to adjust VK_WAIT_100MS to higher values like VK_WAIT_300MS. You can alternatively use other usually rarely used keys like shift_r. A shortcut like alt_r/opt_rX should also work.
If you want to use alt_r/opt_rX as "shortcut" private.xml should look like this: