shell script as application with automator

I mentioned in my last post that one can use automator to make a shell script an application on Mac OSX. It’s not the most efficient way of running a script, but if you don’t want to mess with your shell $PATH or .profile, it is a convenient thing to do. And it’s simple.

1. Open Automator, and choose Application as the new template:

2. From Utilities in the Action Libraries sidebar, choose Run Shell Script:

3. In the new window that opens, chose the type of shell you want to run from the dropdown menu (bash, ruby, python, and many more are available), and then copy/paste your script into the text area:

4. Save the application to your Applications folder under whatever name you want to the application to have:

And there you go. Now you have a application you can launch in whatever way you like to launch your applications. I use Spotlight as my main application launcher. As with any other application, you can attach your own icon if you’d like.

About

Associate Professor of Early Latin America Department of History University of Tennessee-Knoxville

Posted in Uncategorized

Leave a comment

parecer:
parecer:

Hacer juicio ú dictamen acerca de alguna cosa... significando que el objeto excita el juicio ú dictamen en la persona que le hace.

Deducir ante el Juez la accion ú derecho que se tiene, ó las excepciones que excluyen la accion contrária.

RAE 1737 Academia autoridades
Buy my book!



Chad Black

About:
I, your humble contributor, am Chad Black. You can also find me on the web here.