Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Fatal Flaw in this AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fatal Flaw in this AppleScript
Authored by: Anonymous on Apr 26, '02 09:58:57PM

I think this is a very nice idea, but it unfortunately has a flaw that is fatal, at least in my experience: if the program your cursor happens to be one that can be further opened by selecting "Show Package Contents" off the contextual menu, the script opens up not the directory the program is in, but the program itself as a directory.

For instance, let your cursor rest on "Script Editor" and click the button, and you won't be opened to /Applications/AppleScript, you'll be opened to /Applications/AppleScript/Script

One can simply drag the title of the window to a Terminal window. It's a drag-and-drop interface, yes, but doesn't have this liability. (If, however, this liability can be solved, the proposed solution here is far more convenient, I agree.)

[ Reply to This | # ]