Add Script to Dock

Hi All,

I created a live script and I was hoping to be able to pin it as a shortcut on the dock. Currently the only way I can launch it is by opening terminal and calling the script. Is there any way to have it added to the dock so I can just click on it and have it launch?

Thanks for any input.

Replies

If you save a script with the .command extension, double clicking it in the Finder (or clicking it in the Dock) will open it in Terminal, which will run the script in a new window.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks for the response. So the script has a .ps1 extension...