OS X programing question
Dec 3, 2003 at 8:39 PM Thread Starter Post #1 of 5

A3rd.Zero

100+ Head-Fier
Joined
Dec 27, 2001
Posts
216
Likes
10
I know that there are better places to look for this but I cant find them, and I know its totally off subject but I figured there was someone out here that would know.

I wrote a very simple script to run in the terminal of OSX and I want to make a button for it that I can put on the Dock (ok so its not a button its a program but whatever).

Is there a simple way to do this? I have a decent understanding of C++ and JAVA outside of creating graphic user interfaces but thats all.

Thanks,

Milo
 
Dec 3, 2003 at 9:01 PM Post #2 of 5
Hmm, I'm definitely not the best person to answer this since I don't use OSX...but if the terminal is based off one of the unix terminals, you might try making a shortcut or whatever with the command

"mac_term -e your_program"

Where mac_term is the command to open a terminal. This will open a terminal and execute your program.

hopefully that helps a little...?
 
Dec 3, 2003 at 9:18 PM Post #3 of 5
Thank you for the help. I think I figured out why I cant just do this. I feel kinda silly now.

thank you though

Milo
 
Dec 4, 2003 at 6:32 AM Post #5 of 5
Quote:

Originally posted by A3rd.Zero
I wrote a very simple script to run in the terminal of OSX and I want to make a button for it that I can put on the Dock (ok so its not a button its a program but whatever).


If you're talking about a shell script, there are a number of simple utilities available for OS X that let you run them by clicking a button. Do a few searches at http://www.versiontracker.com/macosx/

Actually, here's one that seems to do what you want: http://www.versiontracker.com/dyn/moreinfo/macosx/20005
 

Users who are viewing this thread

Back
Top