• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Plan E from Outer Space
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plan E from Outer Space


  • Subject: Re: Plan E from Outer Space
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 17 Jun 2009 16:51:40 -0400

On Wed, Jun 17, 2009 at 11:54 AM, Luther Fuller<email@hidden> wrote:
> On Jun 17, 2009, at 10:25 AM, Matt Neuburg wrote:
>> The correct approach is to communicate directly with the
>> defaults system using the shell "defaults" command. m.
>
> I considered using 'defaults', but after reading its man page, it seemed
> that it did exactly what I was doing in System Events (reading & writing the
> preference file), but was harder to write the code.
>

I have to agree with Luther.  It says on the defaults man page that
you shouldn't modify the defaults of a running application, since it
may not see the change and may even overwrite the default.  Sure
sounds like defaults is just editing the file on disk, with no magic
in-memory modifications.

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Plan E from Outer Space
      • From: Luther Fuller <email@hidden>
References: 
 >Re: Plan E from Outer Space (From: Matt Neuburg <email@hidden>)
 >Re: Plan E from Outer Space (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Simple newbie question
  • Next by Date: Re: Plan E from Outer Space
  • Previous by thread: Re: Plan E from Outer Space
  • Next by thread: Re: Plan E from Outer Space
  • Index(es):
    • Date
    • Thread