image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old August 23rd, 2004, 03:27 PM
Registered User
 
Join Date: Jun 2003
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Travis86 is on a distinguished road
Is there a way to run shell scripts by double-clicking them?

I am very tired of having to open a Terminal window, type "sh" or ".", drag the shell script in, and hit return. I want to just double-click and have it open the window and run the script.

I guess this would be done by associating ".sh" files with an Applescript program (or something) that will run them, but I don't know Applescript.

Does anyone know of a program that will do this or another way of doing this?

Thanks.
__________________
A Mac user since June 16, 2004.
G5 - Dual 1.8 - 1.25 Gb of ram
Reply With Quote
  #2  
Old August 23rd, 2004, 04:41 PM
captain obvious
 
Join Date: Apr 2002
Posts: 275
Thanks: 0
Thanked 0 Times in 0 Posts
fbp_ is on a distinguished road
rename to whatever.command
__________________
powerbook G4 15" 1.25ghz - 1024mb - 80gb ~ ipod mini
Reply With Quote
  #3  
Old August 23rd, 2004, 07:10 PM
Registered User
 
Join Date: Jun 2003
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Travis86 is on a distinguished road
That didn't work. It opens in Text Edit.

I assume if it did start working, could I make the ".sh" accociations the same as the ".command" accociations, right?
__________________
A Mac user since June 16, 2004.
G5 - Dual 1.8 - 1.25 Gb of ram
Reply With Quote
  #4  
Old August 24th, 2004, 02:44 AM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,025
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
I thought you were supposed to rename them to .TERM
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #5  
Old August 25th, 2004, 09:05 AM
gumse's Avatar
Member
 
Join Date: Mar 2001
Location: Sweden
Posts: 403
Thanks: 0
Thanked 0 Times in 0 Posts
gumse is on a distinguished road
http://www.macosx.com/forums/showthr...light=.command
__________________
G4 500 MP 1024 MB RAM
LaCie Electron 22" Display
OS X 10.3.9
iMacDV
MacMini
iSight
iPod + iPod Mini
Sony PC100E FireWire Cam
Static IP via a FreeBSD server/gateway
a lot of other Mac's running Macos 7.5 to 9.1 and NetBSD.
A Few Wintel's on the side (I only use them when I get paid by the hour)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 10:38 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.