Alfred workflow for searching and copying emoji
An Alfred workflow that makes it easy to search for emoji and copy them to the clipboard ๐ค.
Note About Available Emoji
The workflow is built against the latest available macOS within the GitHub continuous integration infrastructure. This means some emoji may be missing until the GitHub infrastructure is updated. It also means that some emoji may be present in the workflow that do not exist on your system if your system is running an earlier version of macOS.
If this is not desired, follow the instructions below for generating the workflow on your own system.
Download the provided Alfred workflow.
Notice: This workflow relies on JXA (JavaScript for Automation) that is built into macOS.
emoji [query]
Press return (โต): Copy the symbol of the selected emoji (e.g. ๐คฃ) to your clipboard.
Press alt+return (โฅโต): Copy the code of the selected emoji)
(e.g. :rofl:
) to your clipboard.
Press ctrl+return (โโต): Copy the codepoint of the selected emoji)
(e.g. U+1F923
) to your clipboard.
Press shift+return (โงโต): Copy the default symbol of the selected emoji) (e.g. ๐คฃ) to your clipboard without skin tone modifier.
Press cmd+return (โโต): Paste the symbol of the selected emoji (e.g. ๐คฃ) directly to your frontmost application.
To change the emoji skin tone for supported emoji set the skin_tone
environment variable in Alfred:
Options:
0
=> ๐๐ป1
=> ๐๐ผ2
=> ๐๐ฝ3
=> ๐๐พ4
=> ๐๐ฟrandom
=> ๐๐ป | ๐๐ผ | ๐๐ฝ | ๐๐พ | ๐๐ฟAfter setting skin tone you can still quickly copy the default emoji with the shift modifier.
This workflow will automatically check for updates at most once per day. If a new release is found, it automatically downloads and installs the latest version of the workflow. All downloads come directly from official GitHub releases.
Trigger the workflow with either a custom hotkey or a custom snippet.
npm install
npm run build
npm run load
This is based on the original work by Carlos Galdino. His project seems to be unmaintained (some emoji don't copy and some newer are missing). Whereas his project is based on the Ruby language, this one is based on JavaScript.