• 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: Add item to NSSavePanel sidebar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add item to NSSavePanel sidebar


  • Subject: Re: Add item to NSSavePanel sidebar
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 19 Jun 2008 18:36:27 -0700


On 19 Jun '08, at 6:22 PM, Omar Qazi wrote:

The finder has to save the sidebar state to disk somewhere. I image that it would be possible to read that file and change the place where it mentions all the items in the sidebar to include your directory.

The Open/Save panels are not part of the Finder; they're just drawn that way. They're really part of the AppKit framework. I agree there's probably a shared plist somewhere that describes the configuration of the sidebar, but (a) messing with this without the user's consent would be a bad idea, and (b) there's no way to get NSSavePanel in your own process to notice the file's changed, since you don't want to kill yourself...


—Jens

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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Add item to NSSavePanel sidebar
      • From: Omar Qazi <email@hidden>
References: 
 >Add item to NSSavePanel sidebar (From: "Fedor Larin" <email@hidden>)
 >Re: Add item to NSSavePanel sidebar (From: Omar Qazi <email@hidden>)

  • Prev by Date: Re: PDFKit guidance
  • Next by Date: Re: Cocoa can be used to execute arbitrary (privileged) code !
  • Previous by thread: Re: Add item to NSSavePanel sidebar
  • Next by thread: Re: Add item to NSSavePanel sidebar
  • Index(es):
    • Date
    • Thread