Is there a way to run shell scripts by double-clicking them?

Travis86

Registered
I am very tired of having to open a Terminal window, type "sh" or ".", drag the shell script in, and hit return. I want to just double-click and have it open the window and run the script.

I guess this would be done by associating ".sh" files with an Applescript program (or something) that will run them, but I don't know Applescript.

Does anyone know of a program that will do this or another way of doing this?

Thanks.
 
That didn't work. It opens in Text Edit.

I assume if it did start working, could I make the ".sh" accociations the same as the ".command" accociations, right?
 
Back
Top