Hi Stephen, for applescript that gets a little ugly since you have to script the System Preferences GUI via System Events, since System Preferences are not directly scriptable. Scripting the GUI is always a bit shaky since the gui can change with every system upgrade/version. And it is dependent on the system language, so you can not expect your version for an english system to work on a french system.
Enabling access for assistive devices checked in the Universal Access pane of System Preferences is a prerequisite for GUI scripting to work. http://macscripter.net/viewtopic.php?id=14034 http://macscripter.net/viewtopic.php?id=16922 it is basically everthing in these 2 threads regards Bernd Stephen Barncard-4 wrote: > > Is there something I could call that would reveal the current sound > sources on a Mac? > Or does one 'just have to know'? > > For instance there doesn't seem to be a code for the audio from my USB > headset or the digital in on my MacBook Pro. (yes folks, there really > is one on the 'combo' input port.) > > Applescript or shell is ok... > > ------------------------- > Stephen Barncard > San Francisco > http://barncard.com > -- View this message in context: http://www.nabble.com/Sound-sources-on-Mac-tp23221647p23224142.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution