PopClip recognises the following named keys: return, space, delete, escape, left, right, down, up, and the F keys: f1 to f19. To specify more than one modifier, just list them separated with spaces, with the key to press at the end. The key combo is simply a sequence of words from command (⌘), option (⌥), shift (⇧) and control (⌃), followed by the character, name or key code of the key to press. The key combo is specified as command E - see Specifying key combinations below. key combo - the main action, which is to press a key combination.Here I have put copy which makes PopClip copy the selection to the clipboard, where TextExpander will find it. The before field specifies an action PopClip should perform before the main action. before - this is important for the TextExpander extension.Here I have specified a filled circle with the letters te but you can change that (see here for info) icon - an icon for the extension’s action.name - the name you give the extension.# popclip - this has to go at the top of every extension snippet so PopClip knows what it is.Let’s look at the lines of the extension snippet in detail: Feel free to ask for help in the thread down below, or share things you have made. Hopefully you now have an idea how to adapt this for other situations where you can accomplish a task using a keyboard shortcut. Now you have an extension that creates a new TextExpander snippet from the selection! Otherwise, after selecting the text block above with PopClip, you’ll see “Install Extension”. ![]() If you’ve chosen a different keyboard shortcut to ⌃E, you’ll need to type out the extension snippet yourself somewhere and alter it. I’ve typed out an extension snippet as follows - all you need to do is go ahead and select it: # popclipīefore: copy # important line! see "the details" below Having done this, we can now make our PopClip extension. ![]() This can be any key combination of your choice, but here I’m using ⌃E (control and E).
0 Comments
Leave a Reply. |