View Full Version : Run script by double-clicking
ComputerX
01-22-2002, 01:58 AM
How can I make a shell script run when double-clicked?
Thanks,
Dan
patashnik
01-22-2002, 02:35 AM
Rename the script so it had the extension '.command'; after that, you can double-click it and Terminal is started to run it. You also need to make the script executable, by the way.
mmurray
01-22-2002, 05:52 AM
You can also use AppleScript Studio to make an application
which will run the script. See the Simple Shell example in AppleScript
Studio.
Michael
sAMANOSKe
01-23-2002, 09:08 PM
Is there a possibility to run the script.command as root !?:confused:
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.