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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

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.
%d bloggers like this: