• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sending Commands to Terminal Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Sending Commands to Terminal Windows
      • From: Christopher Nebel <email@hidden>
References: 
 >Sending Commands to Terminal Windows (From: Jeffrey Berman <email@hidden>)

  • Prev by Date: Re: stack/table overflows on storing complex scripts
  • Next by Date: Re: stack/table overflows on storing complex scripts
  • Previous by thread: Sending Commands to Terminal Windows
  • Next by thread: Re: Sending Commands to Terminal Windows
  • Index(es):
    • Date
    • Thread