Starting a shell command by clicking an icon on Mac OSX

From folder /Applications/AppleScript/ start Script There enter the line:

do shell script "<shell_command>"

Then save your AppleScript by selecting "application" as file format.


do shell script "/Applications/
                  -P /Users/my_user/Library/Thunderbird/Profiles/my_profile"

would start Thunderbird email client program with a non-default profile.

linux logo Powered by Apache
This site maintained by:
My public PGP key
last updated: 2008-08-29 Valid CSS! Valid XHTML 1.0 Strict