How do I set up a shell script to execute from the Mac OSX dock? It seems that simply creating a shortcut will open the file in my editor. Is there a flag I need to set som
In the Script Editor:
do shell script "/full/path/to/your/script -with 'all desired args'"
do shell script "/full/path/to/your/script -with 'all desired args'
Save as an application bundle.
As long as all you want to do is get the effect of the script, this will work fine. You won't see STDOUT or STDERR.