Re: Running `expect` from inside AppleScript
Re: Running `expect` from inside AppleScript
- Subject: Re: Running `expect` from inside AppleScript
- From: Jenni via AppleScript-Users <email@hidden>
- Date: Thu, 9 Dec 2021 10:01:10 -0800
> On Dec 9, 2021, at 1:19 AM, Christopher Stone via AppleScript-Users
> <email@hidden
> <mailto:email@hidden>> wrote:
>
> I don't know of any way to suppress it using the do script mechanism, but you
> can write your script to a file and run the file.
Oh, well, I guess I can live with it. Eventually it will scroll off
the screen. I originally had it in a separate file, but was trying a single
file approach. It's too bad that the formatting has to be so ugly. Why are so
many backslashes required anyway???
expect \\\"password: \\\"
It's too bad that AppleScript doesn't have an equivalent to a heredoc
syntax that would eliminate the escaping of quotes altogether. I haven't run
across one yet, if it does.
Thanks again for your responses, Chris. I always appreciate seeing
them on this list.
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden