Results 1 to 2 of 2
  1. #1

    Member Since
    May 20, 2011
    "Select audio output" applescript?
    I'd like a keyboard shortcut that will select the "HDMI" audio output without going through the menus when my mac is connected to my TV. I tried to find a script or something to enter into Quicksilver for this, and this is what I came up with:

    tell application "System Preferences" to activate
    tell application "System Events"
    get properties
    tell process "System Preferences"
    click menu item "Sound" of menu "View" of menu bar 1
    delay 2
    set theRows to every row of table 1 of scroll area 1 of
    tab group 1 of window "sound"
    set theOutputs to {} as list
    repeat with aRow in theRows
    if (value of text field 1 of aRow as text)
    is equal to "HDMI" then
    set selected of aRow to true
    exit repeat
    end if
    end repeat
    end tell
    end tell
    tell application "System Preferences" to quit

    Problem is, I have hardly any clue what this means or how to make a script for it. Also if someone could tell me how to add the script to Quicksilver? I found the actions folder and it's just a bunch of words, do I just paste the script in that folder?


  2. #2

    Member Since
    Jan 02, 2012
    You can switch more quickly by holding "option" and clicking the volume control in the menu bar. not quite a keyboard shortcut, but way faster than going through system preferences.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MacBook Pro 15" 2011 Audio Output Problems
    By no_mad in forum Apple Notebooks
    Replies: 2
    Last Post: 09-14-2012, 02:26 PM
  2. Select audio output using Quicksilver?
    By Sherfick in forum OS X - Apps and Games
    Replies: 1
    Last Post: 01-02-2012, 08:39 PM
  3. Mac OS X Leopard Reinstall Spinning Cursor At "Select A Destination"
    By LegChai in forum OS X - Operating System
    Replies: 2
    Last Post: 11-17-2011, 08:59 AM
  4. I thought I was supposed to have a "Line Out" audio output option on my MBP
    By VegasGeorge in forum Music, Audio, and Podcasting
    Replies: 2
    Last Post: 11-22-2009, 12:48 AM
  5. proxy configuration: "Select a protocol to configure" is missing
    By domukun367 in forum OS X - Operating System
    Replies: 0
    Last Post: 05-11-2009, 04:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts