Alfred Workflow: iMessage to Friend


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 workflow „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 workflows you will need the Powerpack version of Alfred v2 or higher.

Download

iMessage to Friend.alfredworkflow
Version 1.3, 08.05.2021

If you are looking for the old extension for Alfred v1 click here.

Changelog

1.3 (08.05.2021): Add compatibility with macOS 11.0 Big Sur.
1.2 (05.10.2013): Add compatibility with Alfred v2 and higher.
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.

Known issues

If you have more than one iCloud account enabled in iMessage, the workflow will only work with the first one. Group chats aren’t possible, because they aren’t supported through iMessage’s AppleScript.

Installation

After you have installed/imported the workflow, you´ll have to replace two things:

1. Replace Friend1 (and so on) in the trigger’s keyword, title and subtext field with your friend´s (nick)name, e.g. BFF or kira:

2. Replace FRIEND1_IMESSAGE in the corresponding AppleScript action with your friend´s phone number or email address, e.g. 00491501234567 (country code + prefix + number) or friend@icloud.com. Keep in mind that the number or email address must be activated for iMessage and don’t remove the quotation marks:

Repeat these steps for your other friends. If you have more than five friends, feel free to add more by copying the trigger and actions.

Now you’re ready to go.

How to use it

If your friend´s name is Kira and you´ve entered her phone number or email address and changed the corresponding keyword to „kira“, hit your hotkey to open/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.

Feedback

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.

Support your local eay!

Dir gefällt, was ich hier tue? Du kaufst gerne bei Jeff Bezos ein? Dann empfehle ich dir meinen Amazon-Partnerlink und einen Blick in meine Wunschliste für Ideen zum Geld ausgeben.

3 Reaktionen

  1. Is it easy to modify this to support Jabber chat?

  2. Amazing. Thanks for putting this together and for keeping it up to date for Alfred v2!

  3. Great workflow! Thanks!