Extension for pressing various keyboard shortcuts

By email:

What I’m looking for is something like this: double click a word and a bubble pops up, where u can see extensions like “copy”, “paste” and “self-defined”, click on the self-defined bubble and a predefined keyboard shortcut will be triggered.

And to support this, there will be a setup pane for self-defined extension where you can set your favorite keyboard shortcuts as an extension and rename them so you can tell which is which when they pop up.

Do you think this is possible?

Background info: I’m a big fan of Better Touch Tool, and I like to use keyboard shortcuts a lot.

Not quite, as in not with a nice GUI pane for setting the shortcuts. But you can definitely do it with a snippet like this:

#popclip
name: My KB Shortcuts
requirements: [] # always appear
icon: iconify:material-symbols:keyboard
actions: # just silly examples
- { title: Cow, icon: iconify:mdi:cow, key combo: command h }
- { title: Pig, icon: iconify:mdi:pig, key combo: command option p }
- { title: Sheep, icon: iconify:mdi:sheep, key combo: control shift h }

(The above block is an extension snippet - select the text it then click “Install Extension” when PopClip appears.)

Here’s how to install that:
CleanShot 2023-02-14 at 08.49.59

To customise the icons, titles and shortcuts, just copy and paste that into a text editor like TextEdit (I recommend putting it in plain text mode) and change it to suit you.

To pick your own icons go to http://iconify.design/ and search there.

1 Like