• 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
Sending Commands to Terminal Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Sending Commands to Terminal Windows
      • From: Jeffrey Berman <email@hidden>
  • Prev by Date: Re: AppleScript and international characters
  • Next by Date: Re: Address Book in Eudora
  • Previous by thread: Thanks - Re: Plotting question
  • Next by thread: Re: Sending Commands to Terminal Windows
  • Index(es):
    • Date
    • Thread