• 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: CFPreferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFPreferences


  • Subject: Re: CFPreferences
  • From: Alan Smith <email@hidden>
  • Date: Sat, 28 Jan 2006 11:40:31 -0500

OK. I'll try it. Thanks!

Alan

On 1/28/06, Rosyna <email@hidden> wrote:
>
> It's ready made code that you can just copy and paste in. Don't be so
> afraid of carbon.
>
> Ack, at 1/28/06, Alan Smith said:
>
> It seems rather unnessasaryily complicated, and that stuff about Apple
> Event is pretty gross. And it's Carbon. Which, from reading a lot about
> Cocoa, got the feeling it was not a very good language and that I should
> avoid it if possible. I did try your NSDictionary stuff but at the
> CFPreferencesCopyAppValue the dictionary remains empty. Argh! Why me? I
> found a desktop picture changer on macupdate and it's free so I'll ask the
> dev about it. What about the open dialog? Anyone?
>
> Cheers, Alan
>
> On 1/28/06,* Rosyna* <email@hidden> wrote:
>
> make a deep mutable copy (not a normal one, but a deep one) of the top
> dictionary then change the values and set the top dictionary back to the
> preferences. however, writing is especially dangerous as it isn't your
> preference file and the format isn't exactly documented. Also, it may look
> at the Alias (as it should) before it even bothers to look at the path
> (which should never actually be queried). In which case you'd have to update
> the alias data, even though the format is known today, it is not documented
> and may change in the future.
>
>
> http://developer.apple.com/samplecode/DeskPictAppDockMenu/listing3.h tml
> has *real* sample code for setting the desktop picture, however it also
> contains a warning about not being future proof.
>
>
> --
>
>
> Sincerely,
> Rosyna Keller
> Technical Support/Holy Knight/Always needs a hug
>
> Unsanity: Unsane Tools for Insanely Great People
>
> It's either this, or imagining Phil Schiller in a thong.
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: CFPreferences (From: Alan Smith <email@hidden>)
 >Re: CFPreferences (From: Alan Smith <email@hidden>)
 >Re: CFPreferences (From: Alan Smith <email@hidden>)

  • Prev by Date: Re: threads or processes?
  • Next by Date: Re: threads or processes?
  • Previous by thread: Re: CFPreferences
  • Next by thread: Re: CFPreferences
  • Index(es):
    • Date
    • Thread