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 - Operating System General OS operation information and support

OS 10.4 - Automated Terminal Commands


Post Reply New Thread Subscribe

 
Thread Tools
sarahsboy18

 
sarahsboy18's Avatar
 
Member Since: Jan 30, 2005
Location: Fort Worth, Texas
Posts: 1,069
sarahsboy18 is just really nicesarahsboy18 is just really nicesarahsboy18 is just really nicesarahsboy18 is just really nice
Mac Specs: Mac Pro, 8-Core 2.8Ghz, 10GB RAM, 2x1TB HDDs, iPod U2 Edition

sarahsboy18 is offline
I have a terminal based CMS that I use on a daily basis... I usually load terminal and then have to type the commands to open telnet and login manually. Is there a way to use automator or an applescript to automate that?... Or is there a better terminal/telnet client out there that would automate it for me?

"If you had a friend who was a tightrope walker, and you were walking down a sidewalk, and he fell, that would be completely unacceptable." -Mitch Hedberg
QUOTE Thanks
Kokopelli
Guest
 
Posts: n/a

There may be easier ways but:

1) Open a terminal
2) File => Save As (give it a meaningful name)
3) go to the file you just save and open in text editor of choice
4) Scoll down to
Quote:
<key>ExecutionString</key>
<string></string>
and put the commands you use inside the String tag. Ech command should be separated by a semicolon

Then to launch our CMS use this file rather than terminal.

If that does not provide sufficient flexibility we could go the AppleScript route but it is more complex. (Honestly I don't know how to do it in AS but we could probably figure it out.)
QUOTE Thanks
sarahsboy18

 
sarahsboy18's Avatar
 
Member Since: Jan 30, 2005
Location: Fort Worth, Texas
Posts: 1,069
sarahsboy18 is just really nicesarahsboy18 is just really nicesarahsboy18 is just really nicesarahsboy18 is just really nice
Mac Specs: Mac Pro, 8-Core 2.8Ghz, 10GB RAM, 2x1TB HDDs, iPod U2 Edition

sarahsboy18 is offline
That's EXACTLY what I was looking for... Thanks!

"If you had a friend who was a tightrope walker, and you were walking down a sidewalk, and he fell, that would be completely unacceptable." -Mitch Hedberg
QUOTE Thanks
sarahsboy18

 
sarahsboy18's Avatar
 
Member Since: Jan 30, 2005
Location: Fort Worth, Texas
Posts: 1,069
sarahsboy18 is just really nicesarahsboy18 is just really nicesarahsboy18 is just really nicesarahsboy18 is just really nice
Mac Specs: Mac Pro, 8-Core 2.8Ghz, 10GB RAM, 2x1TB HDDs, iPod U2 Edition

sarahsboy18 is offline
Ok... The semi-colon doesn't seem to be invoking "enter" after each ";"... Do I add another <string></string>?

Edit: Nevermind... I just removed the ";" and put each command on a new line and that seems to have done the trick.

Thanks again!

"If you had a friend who was a tightrope walker, and you were walking down a sidewalk, and he fell, that would be completely unacceptable." -Mitch Hedberg
QUOTE Thanks

Post Reply New Thread Subscribe


« kernel_task in activity monitor | If my Powerbook freezes up... »
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
Terminal and Applescript bigpixl OS X - Development and Darwin 0 08-09-2005 12:34 PM
Problem with terminal, always runs Fink task at startup thomanil OS X - Operating System 3 07-03-2005 05:00 PM
useful terminal commands moz Switcher Hangout 4 06-24-2005 11:06 AM
Terminal Help rs2sensen OS X - Apps and Games 1 04-25-2005 10:52 PM
terminal issue pi_edpiper OS X - Operating System 1 09-04-2003 08:36 PM

All times are GMT -4. The time now is 06:06 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?