I'm using some special characters like mathematical symbols in different programs like Mail or Adobe Illustrator. Of course I can open the Symbols Table, search for the needed symbol and copy&paste it. Is there a way to define a shortcut to insert a specific special character?
5 Answers
Two possibilities are through creating a modified keyboard layout (which can be done manually, but is made much simpler using a program like Ukulele) or through a shortcut program like TextExpander
I use TextExpander, myself, so that c== is a shortcut on my system for ⌘, o== for ⌥, and several others, in part because I do not want to lose the symbols already mapped to the option (⌥) key combinations on my keyboard.
On the other hand, remapping the ⌥ keys to symbols different than the ones they are original configured for can be helpful and convenient for some people also, which is where Ukulele shines.
You can use built-in Automator and Services. Look at my answer to the similar question.
You can get very fast access to the symbols via the widget CharacterPal.
Click on the needed icon in order to paste to the clipboard.
Another option would be to create ~/Library/KeyBindings/
and save a property list like this as DefaultKeyBinding.dict
:
{
"\UF704" = { // F1
"a" = (insertText:, "∀");
"2" = (insertText:, "²");
};
"~a" = (insertText:, "∀");
}
After restarting applications, pressing F1A or Alt ⌥ A should insert "∀".
You may create an AppleScript that insert your character.
Then, it is possible to have this script in the Scripts menu at the right.
Then I think that, in the menu, the script can have a keyboard command.
Then you are done!