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.

- 34,803
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.

- 49,722
-
You mean copy to the clipboard? – Nicolas Barbulesco Apr 19 '15 at 08:52
-
And which icon? – Nicolas Barbulesco Apr 19 '15 at 08:53
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!

- 2,382