Created
October 4, 2017 13:37
-
-
Save TeMPOraL/d330edccf8ba9a2b13d01b4e7f1dcc59 to your computer and use it in GitHub Desktop.
Emoji Picker for Windows (via AutoHotkey)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
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