Go Back   The macosxhints Forums > OS X Help Requests > System



 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 09-18-2003, 11:24 PM   #1
naum
Prospect
 
Join Date: Jul 2003
Posts: 24
How can a Terminal app (vi) be the default app for a file in finder?

I've searched and searched here but the answer eludes me. I'm trying to figure out how to make vi (via a Terminal session, be it one that's already running or invoking a new one) be the default application for a cmd-O/double click on a file in finder? Just like double clicking on a *.html file launches Safari or hitting cmd-o on a *.doc file launches MS Word with and loads the desired document.

Probably would have to wrap it in an applescript but I'm not sure of syntax and I'm on the road now and have no hardcopy docs ...
naum is offline   Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting 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

Forum Jump


All times are GMT -5. The time now is 06:31 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.