Skip to content

Instantly share code, notes, and snippets.

@robotsandcake
Created August 15, 2017 09:48
Show Gist options
  • Select an option

  • Save robotsandcake/e50d4edd1d1ec9c67407e3068c7f839c to your computer and use it in GitHub Desktop.

Select an option

Save robotsandcake/e50d4edd1d1ec9c67407e3068c7f839c to your computer and use it in GitHub Desktop.
When run, this small piece of AppleScript will flash every LIFX lightbulb in the house blue as part of an IF recipe.
-- This sends an event to the Maker IFTTT channel, replace blue_flash_all with
-- whatever you like but make sure that URL is saying wherever you use it.
set theURL to "https://maker.ifttt.com/trigger/blue_flash_all/with/key/YOUR_SECRET_KEY"
do shell script "curl " & quoted form of theURL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment