On May 14, 2010, at 6:11 PM, Chris Devers wrote:

> On Fri, May 14, 2010 at 5:20 PM, Richard Morse <[email protected]> wrote:
>> 
>> 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`.
> 
> That or use Applescript / System Events, which can be a "friendlier"
> shutdown than a kill command, as the application will get a chance to
> properly save buffers, preferences, etc:
> 
> `osascript -e 'tell application "iCal" to quit'`

Sorry; I'm in the middle of upgrading a server; the example to kill `init` was 
meant as an analogy...

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