• 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 button to Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add button to Finder


  • Subject: Re: Add button to Finder
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 16 Jun 2010 19:58:48 -0700

On 16.06.2010, at 18:03, email@hidden wrote:
> I have a SVN Client that adds a button to the Finder's windows. clicking the button pops up  menu of SVN actions.
>
> Is this considered good form?

 There is no official API to add such buttons to Finder, so whatever this SVN client does is using undocumented and not recommended ways of messing with Finder internals (which Apple may change at any time, causing the hacky SVN thing to break).

 So, no, it's not considered good form.

> I would like to do something similar, a button with a pop up menu.  Good form?

 What you want is to get in the Finder's contextual menu. That's done using Services since Mac OS X 10.6 (which also gets you the "Services" submenu of supported apps and the "Gear" or "Action" menu in Finder's toolbar).

 If you need to support older MacOS versions, you need to use the old "Contextual Menu module" plug-in scheme, which isn't supported under 64-bit.

-- Uli Kusterer
Sole Janitor
http://www.the-void-software.com



_______________________________________________

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

References: 
 >Add button to Finder (From: email@hidden)

  • Prev by Date: Re: Core Data : Managed Object Models : Configurations, Versions
  • Next by Date: Always Notified when Key is Released
  • Previous by thread: Re: Add button to Finder
  • Next by thread: Re: Add button to Finder
  • Index(es):
    • Date
    • Thread