Last Updated: February 25, 2016
·
2.756K
· rayfranco

Push to iPhone from Alfred

Here is a funny way to push some reminders to your iPhone or a [boy|girl|best]friend device or even your team mates. This article from Jeffrey Way inspired me.
No matter what the need is, here's how :

Get a new application up and running. I'll call mine "Alfred".

Picture

Then in Alfred settings, create a new Shell Script Extension

Picture

I've called mine "Push to iPhone" and trigger it with push keyword.

Picture

In advanced tab, I'll uncheck escaping options until I only have white space and brackets choices checked.

Picture

Then the best past, the snippet available in the Pushover API :

curl -s \
  -F "token=APP_TOKEN" \
  -F "user=USER_KEY" \
  -F "message={query} " \
  https://api.pushover.net/1/messages

Where APPTOKEN is the API Key we have created at the first step. USERKEY is the key associated to your device created in your Pushover user settings.

Here we go, fire up Alfred, prefix your message with push command like this :

Picture

And check your iPhone ! Pretty cool hun ?

Picture

Here is the alfred notification in the Pushover app :

Picture

Enjoy !