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.

When I am using the Terminal, I can select a URL in the text and open a context menu that lets me "Open URL". What I would like to do is customize the behavior of this "Open URL" action or add another alternative action that lets me run a custom bash script that takes the URL as an argument. Is this possible?

share|improve this question
add comment

1 Answer 1

AFAIK no, but you can make an new Service with the Automator.app.

And the new service will appear in the "Services" submenu in the context menu.

Assuming than you're familiar with scripting and Automator - if not, enter more details what you want achieve with the URL... (for an example can check: http://apple.stackexchange.com/a/63362/6838)

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.