While working, everything can be a distraction: Twitter, email, your co-workers and texts from iMessage, of course. Answering your friends‘ texts will take you out of your workflow and after that, it takes minutes to get back into it.
That’s why I created the Alfred extension „iMessage to Friend“, which allows you to directly write and send a message to a friend from within Alfred. Just hit Alfred’s hotkey, enter your friends (nick)name, write a message, hit enter and you’re done. No more clicking and application switching required. In order to use extensions you will need the Powerpack version of Alfred.
Version 1.1, 05.01.2013, for Alfred v1
1.1 (05.01.2013): Fixed bug in which the extension didn’t work properly, if your iCloud account isn’t the first account in iMessage’s account list. (thanks to @Cinematze for reporting)
1.0 (05.12.2012): First release of iMessage to Friend.
If you have more than one iCloud account enabled in iMessage, the extension will only work with the first one.
After you have installed the extension (by dragging it into the extension preference panel in Alfred), you’ll have to select the „iMessage to Friend“ extension and replace two things:
FRIENDS_NAMEin the title, description and keyword field with your friend’s (nick)name, e.g.
- In the AppleScript text field replace
FRIENDS_IMESSAGEwith your friend’s phone number or email address, e.g.
00491501234567(country code + prefix + number). Keep in mind that this number or email address must be activated for iMessage.
Now you’re ready to go.
How to use it
If your friend’s name is Kira and you’ve changed the title, description and most important the keyword to „Kira“ (respectively „kira“), hit your hotkey to enter Alfred and type something like:
kira Hello Kira, how are you?
This will send an iMessage with the text „Hello Kira, how are you?“ to Kira’s iMessage-enabled phone number or email address. It’s that simple.
But wait, I have more than one friend
Congratulations, you’ve done something right in your life. If you also want to message them via Alfred, just repeat the installation process and enter another name for the extension (see the screenshot), another friend’s name and his contact information.
If you right click on the installed extension, you’re also able to change it’s name.
Feel free to leave a comment, if you have a question, discovered a bug or just want to say hi. You can also contact me on Twitter.