Jump to content

How can I select a particular system preferences panel?

Recommended Posts

Sorry if this is a naive question. New user.


I'd like to create a workflow that opens the OS X Sound control panel and then selects a particular sound output.


I'm constantly switching between headphones, display, and USB output, so I'd like to automate that.


Here's what I've got so far in the linked screenshot.


It opens System Preferences no problem.


From there, how can I get Alfred to open the Sound control panel, then output, then select one or another of the output options?


In case it helps, I've attached an image of the Sound control panel.



Screen Shot 2016-10-01 at 3.14.58 PM.png

Screen Shot 2016-10-01 at 3.20.05 PM.png

Share this post

Link to post

This isn't really an Alfred question, it's an OS X automation question.


Google for "AppleScript <your problem here>"


This was the most promising-looking result.


When you have a working script, you can run it from Alfred via a Run Script action.

Share this post

Link to post

> This isn't really an Alfred question


Then allow me to rephrase: can Alfred solve the problem I described in my original post?

The developers claim it can:


> With Alfred's Powerpack, use immensely powerful workflows to perform tasks more efficiently and cut down on repetitive manual tasks.


> Connect objects together like building blocks to create workflows without a single line of code.


They don't mention Google or AppleScript.



Edited by RaisedByWolves

Share this post

Link to post

If you want your problem solved, the answer is "AppleScript".


If you just want to know whether Alfred can do this "out of the box", the answer is "no".

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...