• 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: do shell script and prompts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script and prompts


  • Subject: Re: do shell script and prompts
  • From: Theron Blount <email@hidden>
  • Date: Thu, 18 Mar 2004 14:49:09 -0800

Perhaps you could use "expect?"

Theron

On Mar 17, 2004, at 10:00 PM, email@hidden wrote:

Message: 2
From: John Fowler <email@hidden>
Subject: Re: do shell script and prompts
Date: Wed, 17 Mar 2004 22:53:00 -0600
To: email@hidden

Steve Roy wrote:

Is there a way to handle prompts with 'do shell script'?

Prompt the user with an applescript dialog BEFORE invoking the shell
script, put the resulting strings into a variable, and plug the
variable into the shell script. Would that suffice?

John Fowler


--__--__--


__
Theron Blount
Staff Quality Engineer
EarthLink Inc.
(626) 345-2651, office
(626) 394-9132, mobile
_______________________________________________
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.


  • Prev by Date: Re: make new master page
  • Next by Date: Re: Template for Debugging "on Open..." Handler
  • Previous by thread: Re: do shell script and prompts
  • Next by thread: Getting values returned by Unix command-line programs
  • Index(es):
    • Date
    • Thread