• 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: Q: 10.4.2 "Do Shell Script" revision & passwords
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: 10.4.2 "Do Shell Script" revision & passwords


  • Subject: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • From: Christopher Nebel <email@hidden>
  • Date: Wed, 13 Jul 2005 14:27:39 -0700

On Jul 13, 2005, at 2:19 PM, Michelle Steiner wrote:

On Jul 13, 2005, at 12:01 PM, Christopher Nebel wrote:


display dialog v : Display a dialog box, optionally requesting user input

display dialog string : the text to display in the dialog box
[default answer string] : the default editable text
[hidden answer boolean] : Should editable text be displayed as bullets? (default is false)



I am about to enter a bug report.

display dialog "Enter your password." default answer "" hidden answer yes

The script compiles just as written above. "yes" compiles as an application keyword. Running the script results in this:

--> "Can't make some data into the expected type."

The following line of code compiles and runs properly:

display dialog "Enter your password." default answer "" with hidden answer

Don't be surprised if it gets punted back as "behaves correctly". "yes" is not a boolean. "true" and "false" are.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Q: 10.4.2 "Do Shell Script" revision & passwords
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Q: 10.4.2 "Do Shell Script" revision & passwords (From: Laine Lee <email@hidden>)
 >Re: Q: 10.4.2 "Do Shell Script" revision & passwords (From: Christopher Nebel <email@hidden>)
 >Re: Q: 10.4.2 "Do Shell Script" revision & passwords (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Newbie to Applescript
  • Next by Date: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • Previous by thread: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • Next by thread: Re: Q: 10.4.2 "Do Shell Script" revision & passwords
  • Index(es):
    • Date
    • Thread