Re: Sound Control Panel scripting
Re: Sound Control Panel scripting
- Subject: Re: Sound Control Panel scripting
- From: Mr Tea <email@hidden>
- Date: Fri, 14 Sep 2001 12:14:37 +0100
What Bill said.
Your script is trying to communicate with the Sound control panel, which
isn't scriptable. "Sound Scripting" (:System Folder:Scripting Additions:)
does the job instead. You do need the quotes round the name of the output
device, tho.
This from Bill Cheeseman - dated 14/9/01 9.05 am:
>
on 9/14/01 12:35 AM, apple apple at email@hidden wrote:
>
>
> The following returns an error "...can't follow that
>
> identifier." Is there a reason I'm not aware of?
>
>
>
> --In OS 9.1, while the Sound Control Panel is running:
>
>
>
> tell application "Sound"
>
> set sound output device to "Built-In" --"or
>
> Digidesign", etc.
>
> end tell
>
>
Probably it means what it says. I don't have Mac OS 9 running just now, but
>
if memory serves, there could be two problems. (1) Is the application name
>
supposed to be "Sound Scripting"? (2) is "Built-in" supposed to be an
>
enumeration constant, without quotation marks?
Mr Tea
--
Brew of the day: ibid
Visit the Tea Room at:
http://homepage.mac.com/mrtea/tearoom.html