Re: Q: 10.4.2 "Do Shell Script" revision & passwords
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