Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > neat idea - someone make this

neat idea - someone make this
Thread Tools
Mac Elite
Join Date: Feb 2001
Location: Bristol, UK, living in Melbourne, Australia
Status: Offline
Reply With Quote
Nov 26, 2001, 05:52 AM
 
For OSX - a contextual menu item that lets you attach a script as a new contextual item. for example if I control click on the desktop I get the opportunity to add a script, so I may add a script which opens the Desktop System Prefs Panel, and name it "Change Desktop Background". Then whenever I control click on the desktop, this new item appears. Likewise scripts I attach to finder windows will only appear in my contextual menu if I am control clicking a finder window. Basically easy home programmable contextual menu items. If anyone could code this that would be cool. You could have an online library of scripts people had coded.

I'm not much of a programmer - I wouldn't know where to begin. If it's possible though, (and AFAIK, anything's possible), has someone got the time to take it on? Could be a money earner. (Don't give up the day job though )
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Nov 26, 2001, 09:08 AM
 
Apple hasn't released a pluggable CMM yet - I'm sure they will but I don't know that they are committed to it at this point. Until this happens I wouldn't expend any energy on it.
     
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
Nov 26, 2001, 11:06 AM
 
haven't yet looked at it, but supposedly the new version of stuffit deluxe does add a contextual menu to the finder's contextual menu.

well, then, of course, they probably got better documentation than we mortals do. ("description forthcoming" )
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Nov 26, 2001, 01:17 PM
 
Umm... There is CFPlugin-based CMM API in OS X 10.1. See Menus.h
     
Senior User
Join Date: Aug 2001
Location: CA
Status: Offline
Reply With Quote
Nov 30, 2001, 03:32 AM
 
Originally posted by absmiths:
<STRONG>Apple hasn't released a pluggable CMM yet - I'm sure they will but I don't know that they are committed to it at this point. Until this happens I wouldn't expend any energy on it.</STRONG>
Yeah, this is wrong. Menus.h:

/* Contextual Menu Plugin Interface */
/* */
/* For Mac OS X, we will support a new type of Contextual Menu Plugin: the CFPlugIn */
/* based plugin. Each plugin must be in a CFPlugIn in the Contextual Menu Items */
/* folder in one of these paths: */
/* /System/Library/Contextual Menu Items/ */
/* /Library/Contextual Menu Items/ */
/* ~/Library/Contextual Menu Items/ */
/* */
/* It must export the following functions using the following interface or a C++ */
/* interface inheriting from IUnknown and including similar functions. */
/*————————————————————————————————————————————————— —————————————————————————————————————*/

I'll have to try writing one.
Dual 800 - GF3 - 1.5GB
     
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status: Offline
Reply With Quote
Dec 5, 2001, 02:22 PM
 
Bump to top. I thought someone might've got somewhere with this you'd be surprisingly popular if you did something REALLY simple like display a dialog with an item's filename obtained via context menu and then release your code. We might even see FinderPop come to OS X
ClamXav - the free virus scanner for Mac OS X | Geobunny learns to fly
     
Mac Enthusiast
Join Date: Oct 2001
Status: Offline
Reply With Quote
Dec 6, 2001, 12:38 AM
 
oh please dear god, give me back my finder-pop...

my dream cm plugin would put the current menubar items in a contxtual menu under the mouse.
3R1C
     
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status: Offline
Reply With Quote
Jan 17, 2002, 01:33 PM
 
Resurrecting this one!

Now that people know how to write CMMs for OS X (eg look for Zingg! on versionTracker) can someone write a CMM to open the currently selected folder in the terminal? You know, when you drag a folder over the Terminal item in the dock while holding down cmd-option

I'd do it myself, but I don't have the time right now.

[Edit: Sample code apparently on geowar1 iDisk. Filesharing not on so you'll have to mount it from apple.com]

[ 01-17-2002: Message edited by: Geobunny ]
ClamXav - the free virus scanner for Mac OS X | Geobunny learns to fly
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 17, 2002, 02:08 PM
 
Originally posted by Geobunny:
<STRONG>Resurrecting this one!

Now that people know how to write CMMs for OS X (eg look for Zingg! on versionTracker) can someone write a CMM to open the currently selected folder in the terminal? You know, when you drag a folder over the Terminal item in the dock while holding down cmd-option
[ 01-17-2002: Message edited by: Geobunny ]</STRONG>
This may or may not suit your needs, but take a look at Terminal Here, an AppleScript for your Finder Window menu bar. Very neat.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status: Offline
Reply With Quote
Jan 17, 2002, 05:46 PM
 
Originally posted by Arkham_c:
<STRONG>

This may or may not suit your needs, but take a look at Terminal Here, an AppleScript for your Finder Window menu bar. Very neat.</STRONG>
Yeah, that's what I'm using just now, but it only works for the folder you're in, not the one you've clicked on - I'm really used to doing that in RedHat. Oh well, never mind...just another wee annoyance that Apple left out, but that's for another thread in another place!
ClamXav - the free virus scanner for Mac OS X | Geobunny learns to fly
     
Mac Enthusiast
Join Date: Oct 2001
Status: Offline
Reply With Quote
Jan 18, 2002, 04:14 AM
 
it opens the terminal to the selected folder on my machine.
3R1C
     
Mac Elite
Join Date: Oct 2000
Location: Edinburgh, Scotland
Status: Offline
Reply With Quote
Jan 21, 2002, 08:57 PM
 
This is what I've been after for a while!
http://homepage.mac.com/tkukiel/cmworkshop.html
ClamXav - the free virus scanner for Mac OS X | Geobunny learns to fly
     
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status: Offline
Reply With Quote
Jan 21, 2002, 09:07 PM
 
Originally posted by Geobunny:
<STRONG>This is what I've been after for a while!
http://homepage.mac.com/tkukiel/cmworkshop.html</STRONG>
Wow, that looks neato indeed. I am looking forward to trying the FileUtilsCM... The "Copy Path to Clipboard" feature could come in handy, although I usually just drag and drop to the Terminal and it says the path, but this could come in handy, too. Thanks for the heads up, man.
"In Nomine Patris, Et Fili, Et Spiritus Sancti"

     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2