I have created the following script to launch the Terminal.app, then execute the telnet command to an internal server:
tell application “Terminal”
activate
do script with command “telnet servername”
end tell
When I run the script, it runs successfully, however I get 2 Terminal windows instead of just 1. What can I do to make only 1 Terminal window appear?
Also is there any way to adjust the size of the window?
Thanks in advance!
Jason
This seems to do it:
tell application "Terminal"
do script with command "telnet servername"
end tell
jonn8
#3
Try this:
Tested on Mac OS X 10.3.3, Terminal 1.4.1 (v100).
Jon
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]