Skip to content

Instantly share code, notes, and snippets.

Created April 27, 2015 13:44
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save anonymous/784de37358b27f5c7071 to your computer and use it in GitHub Desktop.
Save anonymous/784de37358b27f5c7071 to your computer and use it in GitHub Desktop.
IFTTT Spotify Alarm Clock
Spotify Alarm
Utilizing [IFTT recipe](https://ifttt.com/recipes/283707-spotify-alarm-clock)
In your mail client:
Create a rule in your mail client with the following properties
- Message content contains #wakeup
- Actions: Delete Message, Run AppleScript
Create an AppleScript with the following statements.
```
tell application "Spotify" to activate
tell application "Spotify" to playpause
```
Voila!
@marilonvd
Copy link

Hi all,

Same question as Michelle; but also, how do you set the time? You send an email to yourself containing #wakeup and add a time or..?

@stephieaixa
Copy link

Hello!! Any luck with this in iPhone?

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