Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I suppose you could have it pass in whatever was selected in general in any app (such as text highlighted in a web browser).

share|improve this question

2 Answers 2

Use Automator. Generate a .app. A keyboard shortcut can launch the app, and Automator knows how to grab the Finder selections, which it can then pass to the shell script.

share|improve this answer

The easiest way to do this, assuming you're using Snow Leopard, is to create an automator service and assign a keyboard shortcut to it using System Preferences.

Here's a tutorial to get you started:

http://www.pixelcorps.tv/macbreak235

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.