I am trying to make an apple script connect to a telnet device which I have figured out, but what if I wanted a window to come up to ask me to specify an address and it would use what I imput?
like:
tell application “Terminal”
activate
do script “telnet server address that I imput” in front window
end tell
I am not sure if this is possible, but any help would be greatly appreciated.
Thanks,
Nate
Model: Macbook Pro
Browser: Firefox 2.0.0.11
Operating System: Mac OS X (10.5)
Welcome. 
Try something like this:
display dialog "Enter telnet server address:" default answer "" buttons {"Cancel", "Connect"} default button 2
set serverAddress to text returned of result
tell application "Terminal"
activate
do script "telnet " & quoted form of serverAddress
end tell
Alternatively:
choose URL showing {Telnet hosts}
set serverAddress to result
tell application "Terminal"
activate
do script "telnet " & quoted form of serverAddress
end tell
Wow that is fantastic! Thank you so much!
Nate