Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'An AppleScript to change sound output device' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to change sound output device
Authored by: xSmurf on Sep 23, '05 01:49:56PM
Hmmm I've had problems making this work after all. It was working when I had the prefpane already opened and had the sound Output tab opened, but not from the ground up like it normaly runs in the morning... As I rely heavily on this script I couldn't afford for it not to work, even if it meant to manually select the output. So I dropped it for a while. But also caused me problems as I tend forget to do the switch (I have a back up "buzzer" alarm, but it's usually not enough).
I discovered what was missing :
click radio button "Output" of tab group 1 of window "Sound"
delay 2

before "set theRows to every row of table 1 of scroll area 1 of ". Otherwise the script grabs the items from the Alert sound list instead of the Output list!

Free iPods, now in Canada to! Get yours :

PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf

[ Reply to This | # ]