Set default open-with app to a Python program on a Mac

Posted by Vincent on Super User See other posts from Super User or by Vincent
Published on 2010-04-25T18:49:34Z Indexed on 2010/04/25 19:33 UTC
Read the original article Hit count: 327

I use the open source application UliPad to edit restructured text files (rst). It is a Python application that I launch via Terminal like so:

python32 UliPad.py

I have python32 as an alias to the 32bit install of Python on my machine. I have several versions installed.

First I would like a way to launch UliPad like other OS X apps. Not really sure how to do this.

Secondly, I would like to set all .rst files to be opened with UliPad.py. Is there a way to do this? I know how to choose the default app in Finder but not sure how to choose UliPad as that app.

© Super User or respective owner

Related posts about mac

Related posts about osx