• 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{spam?}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFPreferences{spam?}


  • Subject: Re: CFPreferences{spam?}
  • From: Darkshadow <email@hidden>
  • Date: Sat, 28 Jan 2006 03:55:16 -0500


On Jan 27, 2006, at 6:16 PM, Rosyna wrote:

Because ImageFilePath isn't in the top of the preferences. It is inside a dictionary with some weird number (or default) which is inside a dictionary called "Background". You must go through both of those.

Just to note, it's not "some weird number," but a given screen's display ID. You can get, for instance, the number for the screen with the menu bar with [[[[NSScreen screens] objectAtIndex:0] deviceDescription] objectForKey:@"NSScreenNumber"].


Though if you're actually doing that in code, you'll probably want to check that [NSScreen screens] doesn't return nil first.


Darkshadow (aka Michael Nickerson)


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: CFPreferences
      • From: Alan Smith <email@hidden>
References: 
 >Re: CFPreferences (From: Alan Smith <email@hidden>)
 >Re: CFPreferences (From: Rosyna <email@hidden>)

  • Prev by Date: Re: Running COCOA application during startup
  • Next by Date: Re: placing the text insertion point
  • Previous by thread: Re: CFPreferences
  • Next by thread: Re: CFPreferences
  • Index(es):
    • Date
    • Thread