Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Adding item to right-click (Finder) menu?

 
   Macintosh computer (Home) -> General Discussion RSS
Next:  Apple USB modem causes iMac core duo kernel panic..  
Author Message
Ron Olson

External


Since: Jun 21, 2004
Posts: 4



(Msg. 1) Posted: Sun Apr 23, 2006 8:34 am
Post subject: Adding item to right-click (Finder) menu?
Archived from groups: comp>sys>mac>programmer>misc (more info?)

Hi all-

I am writing a program that works on files. I have added a service which
does show up in the services menu, but what I'd really like to do is add
it to the finder menu (e.g. the one you get when you click on the right
mouse button or hold ctrl and click on a powerbook). Both Stuffit and
Toast have added their own thing there, so obviously it's possible.

Anyone have any ideas on where to find info on how to do this? I've
searched the web and a lot of ADCs documentation, but I can't find
anything on it. The service was actually after I'd given up...I'd just
make it a service and be done with it, but I've found that to be just
one step too many for what I'd be doing (a lot of file operations).

Thanks,

Ron

 >> Stay informed about: Adding item to right-click (Finder) menu? 
Back to top
Login to vote
David Phillip Oste

External


Since: Apr 25, 2004
Posts: 1083



(Msg. 2) Posted: Sun Apr 23, 2006 4:55 pm
Post subject: Re: Adding item to right-click (Finder) menu? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <olsonr-6DD016.08341423042006 RemoveThis @reader1.panix.com>,
Ron Olson <olsonr RemoveThis @panix.com> wrote:

> I am writing a program that works on files. I have added a service which
> does show up in the services menu, but what I'd really like to do is add
> it to the finder menu (e.g. the one you get when you click on the right
> mouse button or hold ctrl and click on a powerbook). Both Stuffit and
> Toast have added their own thing there, so obviously it's possible.
>
> Anyone have any ideas on where to find info on how to do this? I've
> searched the web and a lot of ADCs documentation, but I can't find
> anything on it. The service was actually after I'd given up...I'd just
> make it a service and be done with it, but I've found that to be just
> one step too many for what I'd be doing (a lot of file operations).


I'm under the impression that the "gear" menu in Finder is the same as
the Contextual Menu (i.e, <Control>-<Click> or <Right-Click>) So, write
a Contextual Menu Extension.

 >> Stay informed about: Adding item to right-click (Finder) menu? 
Back to top
Login to vote
Gregory Weston1

External


Since: Oct 03, 2004
Posts: 2984



(Msg. 3) Posted: Mon Apr 24, 2006 7:54 pm
Post subject: Re: Adding item to right-click (Finder) menu? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <olsonr-6DD016.08341423042006.TakeThisOut@reader1.panix.com>,
Ron Olson <olsonr.TakeThisOut@panix.com> wrote:

> Hi all-
>
> I am writing a program that works on files. I have added a service which
> does show up in the services menu, but what I'd really like to do is add
> it to the finder menu (e.g. the one you get when you click on the right
> mouse button or hold ctrl and click on a powerbook). Both Stuffit and
> Toast have added their own thing there, so obviously it's possible.
>
> Anyone have any ideas on where to find info on how to do this? I've
> searched the web and a lot of ADCs documentation, but I can't find
> anything on it. The service was actually after I'd given up...I'd just
> make it a service and be done with it, but I've found that to be just
> one step too many for what I'd be doing (a lot of file operations).

SampleCMPlugin is in the Examples:Carbon directory that's created when
you install the OS X developer tools.

If you were focussing on finding ways to enhance something associated
with the Finder specifically, you were probably filtering out useful
results in your search - the context menu facility is actually system
wide and its up to the plugin to examine the specific context and decide
what, if any, items to offer.

--
"Congurutulation!!!" - The subject line on some spam I received recently.
I have no idea what it means, but it's such a cool "word" (by which I mean
pronouncable sequence of letters) regardless.
 >> Stay informed about: Adding item to right-click (Finder) menu? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Quit menu item? - Hi, Still playing with Cocoa. "windowShouldClose" works fine on my SDI app but how do I intercept the "Quit" command from the application menu? I suppose I should use "applicationShouldTerminate" but where do I use it? I...

Databrowser custom item dragging - I've implemented some custom databrowser items that I would like to drag around. The dragging itself works ok, data is added to the drag and it can be received elsewhere. The only problem is that I can't work out how to actually get the translucent..

Toggle Special Item to Special Row in DataBrowser - I want toggle a special item to a special row,such as Toggle the special item to the first row,when DataBrowser sort any column,there should no effect to the first row,How can I do that? Thanks for your advice!

simple way to get an arbitrary item out of a plist - Hi, I'm looking for a simple way to retrieve a specific arbitrary value from a plist file. I've been futzing around with CFTree for quite a while and I feel like I'm not getting anywhere. If it helps, I'm trying to get the Last Track value out of th...

Help locating click in OS X - I have an event handler for mouse down events in the content region of a window (under Carbon). To set up the handler, I have used the following code: EventTypeSpec mdEvent = { kEventClassWindow, kEventWindowClickContentRgn }; InstallEventHandle...
   Macintosh computer (Home) -> General Discussion All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]