New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Terminal Script...


Post Reply New Thread Subscribe

 
Thread Tools
TheInvsbleMan

 
TheInvsbleMan's Avatar
 
Member Since: Jun 05, 2007
Location: Ypsilanti, MI
Posts: 274
TheInvsbleMan will become famous soon enough
Mac Specs: 15" MBP 2.4GHz 4GB, iPod Classic 120GB

TheInvsbleMan is offline
I do not know many terminal commands but I am looking for an easy way to start my ventrilo server. right now I have to open terminal go to the ventrilo directory and drag the ventrilo_srv file onto the terminal window to start the server.

I want to know if there is a way to write up a script that will automatically do this for me and I just have to run the script to start the server, similar to windows batch command I guess I am looking for. thanks in advance
QUOTE Thanks
mac0s9user

 
Member Since: Sep 18, 2007
Location: Guam
Posts: 1,004
mac0s9user is a jewel in the roughmac0s9user is a jewel in the rough
Mac Specs: Gateway2000 P5-60. 66Mhz and 128 MB RAM.

mac0s9user is offline
The only thing I have been able to find is by entering the command, highlighting it, then going to Services> Script Editor. I keep getting Syntax Errors though. You can give it a shot.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,458
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 13in macbook - 10.10.1

cradom is offline
Possibly something like this:
Code:
#!/bin/sh
cd path-to-ventrilo.directory
command to start server &
Type this into a text editor and save it as plain text. Make it executible:
chmod +x filename
Now all you need to do is open Terminal and type ./filename and the server should start.

This is called a shell script. For more info on scripts try here: http://linuxcommand.org/
If what you want is something double-clickable, someone else who knows Apple scripting (not me) might can help?

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks

Post Reply New Thread Subscribe


« Firefox 3 RC1 | I'm having a major headache with office for mac. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Launching an application via script Haravikk OS X - Development and Darwin 3 03-25-2008 07:48 PM
apple script to greet me off stand by jakeroberts OS X - Development and Darwin 0 04-29-2007 01:34 PM
Terminal problems please help CliveO OS X - Operating System 6 03-20-2007 11:04 AM
Quick Apple Script Question ezhangin OS X - Development and Darwin 6 12-14-2005 10:30 PM
Terminal Help rs2sensen OS X - Apps and Games 1 04-25-2005 11:52 PM

All times are GMT -4. The time now is 03:48 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?