Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  AppleScript Primer for Mac OS X
Subject:   terminal script
Date:   2003-11-11 15:10:45
From:   anonymous2
how would i enter numerous commands in succession with out it opening a new window? I want to make a telnet script that enters user name and password and then two more commands to get to a certain folder, any ideas? cwh9100@rit.edu
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • terminal script
    2004-02-16 09:02:30  jaharmi [View]

    Generally speaking, I don't think there's a good way to use AppleScript scripts to run command line utilities that require user interaction.

    You could do the interaction and then pass the results to a command line utility, if it accepts arguments.

    For your example, you're really talking more about scripting Terminal (and I'm not sure of the state of that) rather than scripting the command line (with "do shell script" in AS).