Re: Expect commands in Applescript
Re: Expect commands in Applescript
- Subject: Re: Expect commands in Applescript
- From: Isaac Ordonez <email@hidden>
- Date: Mon, 2 Feb 2004 12:02:15 -0800
I've actually written a script for expect that waits for the prompts
and replies (to passwords in this case). But what I would like is to
be able to add it to my Xcode Project and have it be an internal script
so users won't have to install the script to be able to run the
program. I guess one posibility would be to have the applescript
create the expect script, run expect and then delete the script. Kinda
strange way to go about it but... any other ideas?
Isaac Ordonez
Technology Support Specialist II
San Rafael City Schools
415.302.8114
On Feb 2, 2004, at 11:35 AM, Doug McNutt wrote:
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.
_______________________________________________
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.