Skip to content

Instantly share code, notes, and snippets.

@TeMPOraL
Created October 4, 2017 13:37
Show Gist options
  • Save TeMPOraL/d330edccf8ba9a2b13d01b4e7f1dcc59 to your computer and use it in GitHub Desktop.
Save TeMPOraL/d330edccf8ba9a2b13d01b4e7f1dcc59 to your computer and use it in GitHub Desktop.
Emoji Picker for Windows (via AutoHotkey)
#F2::
WinGetClass, class, A
Gui, Emojiwin: New, +ToolWindow , Emoji Picker (%class%)
Gui, Font, s12, Segoe UI
Gui, Add, Text,, Pick an emoji:
Gui, Add, Button, gEFacepalm, &1. 🤦 Facepalm
Gui, Add, Button, gEPizza, &2. 🍕 Pizza
Gui, Add, Button, gEParty, &3. 🎉 Party
Gui, Show
Return
#F3::
WinGetClass, class, A
clipboard := class
Return
PickEmoji(default, skype)
{
global class
if(class = "tSkMainForm")
{
clipboard := skype
}
else
{
clipboard := default
}
Gui, Destroy
}
EFacepalm:
PickEmoji("🤦", "(facepalm)")
Return
EPizza:
PickEmoji("🍕", "(pizza)")
Return
EParty:
PickEmoji("🎉", "(party)")
Return
@TeMPOraL
Copy link
Author

TeMPOraL commented Oct 4, 2017

emoji-picker

@TeMPOraL
Copy link
Author

TeMPOraL commented Oct 4, 2017

Key info I forgot to write explicitly: the script binds the popup window globally to Win+F2, and the result emoji is copied to clipboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment