Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can AS change the system beep?



On Jun 14, 2007, at 1:33 PM, Philip Aker wrote:
Yes, you can probably script System Preferences but a more expedient way is to use the shell command "defaults" in a 'do shell script':

do shell script "defaults -currentHost read | grep com.apple.sound.beep"

I'm puzzled by something. This command indicates that the system beep is stored in a file named "com.apple.sound.beep.plist" or at least in a plist file whose name begins with "com.apple.sound". I've looked for such a file in the Library, System and User folders, but there is none. Yet, I am able to change the system beep via the System Prefs Sound pane, so I presume the value is stored somewhere.


When I enter 'defaults domains' in Terminal, the domains list does NOT include "com.apple.sound...", but when I enter ...
defaults -currentHost read | grep com.apple.sound.beep
I DO get what appears to be correct results ...
"com.apple.sound.beep.enabled" = 1;
"com.apple.sound.beep.sound" = "/System/Library/Sounds/ Glass.aiff";
"com.apple.sound.beep.volume" = 0.9972414;


Does anyone know the path to the file where this information is stored?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Can AS change the system beep? (From: Tut <email@hidden>)
 >Re: Can AS change the system beep? (From: Philip Aker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.