Desktop Alias to run TCSH script?

OzBert

Bored
I've written a number of TCSH scripts to run in Terminal.

Is there away I can create an alias on my desktop to run the script in Terminal? :confused:
 
Rumor:

You can append ".command" to the script filename and place it on the desktop to run when dbl-click.

I can never remember to try this out so I can't vouch for it...

hth,
bear
 
That loads Terminal, but does execute the script.

I get this message:

"The .command file '/Users/austenm/Desktop/Mirage News.command' could not open. Most likely it is not executable."

Any other ideas?
 
P.S. Let me know if it works... I always seem to be stuck on my Windoze box at work when I think of this...
 
Alternative (which will also allow you to use voice command if you want): just embed it in an AppleScript with

try
do shell script ""
end try
 
Another option is the freeware utility named ShellSilver which simply makes scripts with the .sh extension run in the Terminal.

The best option by far is the program DropScript which converts any shell script or perl script into an application. You won't get to see any output, but if your script redirects its output to /tmp/myscript.out you can always check it there.
 
Back
Top