On May 12, 2010, at 10:00 AM, Federico Lucifredi wrote:

> BUT, the really interesting bit I was able to get to is the _actual_
> reason why "disabling alarms" is not in the Dictionary for iCal: it is
> in the application defaults, which i was not aware of even existed!
> 
> The defaults are programmatically accessible from the shell "default"
> command, for example:
> 
> $ defaults read com.apple.iCal
> 
> and the one I was after turns put to be simply:
> 
> $ #check box -- 0 for uncheck
> $ defaults write com.apple.iCal 'Disable all alarms' 1

One caveat; it is not necessarily the case that an application will reload its 
defaults while running. iCal may; I don't know. However, in general you need to 
restart an application after modifying defaults -- sometimes you need to quit 
the application first!

It's like editing /etc/ttys; you need to tell init about the changes by `kill 
-HUP 1`.

Ricky


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to