Thanks. That worked fine. My question now is that the script opens two windows: 1. a Terminal window; 2. a Terminal window with the telnet session started. Is there a way to dump that first window? And I might as well ask, is there any kind of easy way to autoclose the or script the closing of the window when the telnet session ends?
Sorry to be a pain in the ass, but this kinda got dumped on me…
tell application "Terminal"
run
do script "telnet save.pbpost.com"
end tell
Once again, many thanks. Hopefully this will work for the end user, if not, I know I’ll use it myself.
I was browsing the forums and did notice someone asking about a script to kill a process (http://bbs.applescript.net/viewtopic.php?id=12870). Do you think its possible to put some sort of if/then statement in there that if/when the process ends, to kill the window?
This post has helped me out… But, unlike the fella before me, I need to login also, with username and password. Any ideas how to do this in the code without having to send keystrokes?