Jump to content
RaisedByWolves

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×