Netflix Workflow
I’ve been playing with Alfred quite a bit lately and of course I needed a quick way to launch my favorite Netflix shows for that sweet sweet downtime.
I had found a “Chrome Window” AppleScript but I wanted to be able to pass in the
URL of the show I want to watch. A little googling and I wound up with using the
ampersand to make use of that q
variable (query) that’s being passed in.
on alfred_script(q)
tell application "Google Chrome"
make new window
tell application "System Events" to set frontmost of process "Google Chrome" to true
activate
do shell script "open " & q
end tell
end alfred_script
And this is what it looks like in the application:1

Netflix WorkFlow
But the most interesting part is probably the list of shows. It’s lean, but I started with the best ones first.

Alfred List Options
And finally this is what it looks like after I’ve used the ⌘-space hotkey to launch it and have typed ‘netflix’:

Workflow in Use
-
Of course I took a detour to create a workflow that will take whatever the filename is for the image and generates the figure shortcode for me with the name plugged in (twice - once to display, once to link). ↩︎