benknight / hue-alfred-workflow

An Alfred workflow for controlling Philips Hue lights.
367 stars 34 forks source link

Make it possible to send multiple commands in one step #21

Closed benknight closed 8 years ago

benknight commented 9 years ago

Currently if you want to, for example, set your light to be on, the color blue, at 33% brightness, you'd have to execute this in three separate end-to-end steps via the the workflow's hue keyword.

Wouldn't life be better if we could do all three at once? Implementation suggestion would be using a modifier key and an AppleScript script to reopen the workflow with one action string prepopulated, outlined as follows:

  1. hue lights:3:on + user hits ENTER while holding ALT (or CTRL)
  2. Alfred is reopened with the following string: hue lights:3:on lights:3:
benknight commented 8 years ago

I don't see a huge need for this, although it would be kinda nice.