• 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: Expect commands in Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Expect commands in Applescript


  • Subject: Re: Expect commands in Applescript
  • From: Doug McNutt <email@hidden>
  • Date: Mon, 2 Feb 2004 12:35:55 -0700

At 08:58 -0800 2/2/04, Isaac Ordonez wrote:
>is there anyway to have the script pause or wait for an output before sending more commands to the script?

No simple answer here but your subject line makes one think. . .

There is a lot of current work on the "expect" toolkit for use with Tcl. It's all quite UNIXy but it does provide a means for a shell script to do the kind of waits, and even make replies, that you are thinking about.

Perhaps you can make the shell command do the waiting before it replies to AppleScript.

<http://expect.nist.gov/>
--

--> In Christianity, man can have only one wife. This is known as monotony. <--
_______________________________________________
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: Expect commands in Applescript
      • From: Isaac Ordonez <email@hidden>
References: 
 >Expect commands in Applescript (From: Isaac Ordonez <email@hidden>)

  • Prev by Date: Re: deeply frustrating: how to copy/move a file from one place to another
  • Next by Date: Re: deeply frustrating: how to copy/move a file from one place to another
  • Previous by thread: Expect commands in Applescript
  • Next by thread: Re: Expect commands in Applescript
  • Index(es):
    • Date
    • Thread