Re: Sound Control Panel scripting
Re: Sound Control Panel scripting
- Subject: Re: Sound Control Panel scripting
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 14 Sep 2001 04:05:01 -0400
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?
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes