Sending Commands to Terminal Windows
Sending Commands to Terminal Windows
- Subject: Sending Commands to Terminal Windows
- From: Jeffrey Berman <email@hidden>
- Date: Wed, 21 Aug 2002 18:48:55 -0500
Two questions:
1. Is there a way to use AppleScript to send line commands to a Terminal
window with an already open connection?
2. Can you use AppleScript to issue commands to a new Terminal window to
connect and login to a remote host? When I naively tried:
tell application "Terminal"
do script with command ("slogin <host address>" & return & "<password>" &
return)
end tell
it opened a new connection but stopped at the remote host password prompt.
-Jeffrey Berman
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.