Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 20, 2007, 09:54 PM   #1
Mernak
macrumors 6502
 
Join Date: Apr 2006
Location: Boston, MA
executing shell script on program startup

Basically I have quite a few disk images of games that I don't feel like carrying around all of the time, but as it stands now I actually have to find the disk image, click on it and open the program. I know it is still quick, but I thought that I had read about a hint somewhere that allowed you to automatically execute a shell script before opening a program, but I tried googling and found nothing. One workarounnd I've found is having a shell script open the disk image, open the program and quit the terminal, but the .command extension is annoying me. Anyone know how to do what I am looking for?
__________________
MB, 2.0Ghz, 2GB Ram, 80GB
iPhone, 8GB
Mernak is offline   0 Reply With Quote
Old Mar 20, 2007, 11:06 PM   #2
lancestraz
macrumors 6502a
 
lancestraz's Avatar
 
Join Date: Nov 2005
Location: RI
You can hide the ".command" extension. Just delete it from the name.
lancestraz is offline   0 Reply With Quote
Old Mar 23, 2007, 09:46 PM   #3
Mernak
Thread Starter
macrumors 6502
 
Join Date: Apr 2006
Location: Boston, MA
Guess that is what I'll do then. thanks
__________________
MB, 2.0Ghz, 2GB Ram, 80GB
iPhone, 8GB
Mernak is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Using TextEdit - PHP script not executing properly moonman239 Web Design and Development 3 Mar 29, 2014 06:20 AM
Apple script batch shell script prramesh Mac Programming 5 Sep 15, 2013 04:35 AM
Anyone know how to use AppleScript or shell-script? gba2000 Mac Applications and Mac App Store 0 Apr 23, 2013 12:14 PM
Startup a shell script as root mehdies Mac Programming 2 Mar 12, 2013 04:17 AM
Need help with a shell script thatgreenvw Mac Programming 1 Nov 30, 2012 08:55 AM

Forum Jump

All times are GMT -5. The time now is 08:11 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC