Re: Sending Commands to Terminal Windows
Re: Sending Commands to Terminal Windows
- Subject: Re: Sending Commands to Terminal Windows
- From: Jeffrey Berman <email@hidden>
- Date: Thu, 22 Aug 2002 18:51:08 -0500
On 8/21/02 6:48 PM, Jeffrey Berman <email@hidden> wrote:
>
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.
Does the absence of a response to these questions mean that neither action
can be accomplished with AppleScript?
-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.