• 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: Running `expect` from inside AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Running `expect` from inside AppleScript
      • From: Deivy Petrescu via AppleScript-Users <email@hidden>
References: 
 >Running `expect` from inside AppleScript (From: Jenni via AppleScript-Users <email@hidden>)
 >Re: Running `expect` from inside AppleScript (From: Jenni via AppleScript-Users <email@hidden>)
 >Re: Running `expect` from inside AppleScript (From: Christopher Stone via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: Running `expect` from inside AppleScript
  • Next by Date: Re: Running `expect` from inside AppleScript
  • Previous by thread: Re: Running `expect` from inside AppleScript
  • Next by thread: Re: Running `expect` from inside AppleScript
  • Index(es):
    • Date
    • Thread