At 2:28 AM -0400 10/24/02, Sherm Pendley wrote:
... search Apple's Carbon dev list for "Contextual Menu Workshop."
You might be able to do something with an XS extension, or with
Inline::C, but either way, it's not going to be anywhere near as
easy as using a native Cocoa object.
The August 2002 issue of MacTech has an article by Brent Simmons on
"Writing Contextual Menu Plugins for OS X, part 1". He uses the
Contextual Menu Workshop to create a sample plugin (it copies the
path of a selected file or folder onto the clipboard). This looks
like a very good fit for what I need, if I can make his code work
with CamelBones. FYI, the source and project files are available at
http://ranchero.com/downloads/mactech/CopyPathPluginSource.sit
As of the October issue, the second part of the series had not shown
up in MacTech; It is said to cover "how to add submenus, work with
text selections, and execute Unix commands".
-r
--
email: [EMAIL PROTECTED]; phone: +1 650-873-7841
http://www.cfcl.com/rdm - my home page, resume, etc.
http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc.
http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series
http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection