Re: choose from list bug??
Re: choose from list bug??
- Subject: Re: choose from list bug??
- From: kai <email@hidden>
- Date: Tue, 27 Mar 2007 20:18:24 +0100
On 27 Mar 2007, at 19:49, Stockly, Ed wrote: In this command:
choose from list a OK button name "Choose" with prompt string pstring
There's an improper coersion: string pstring
The "string" is not needed, pString is already a string.
I don't believe this was intended as a coercion. My guess is that the word string was simply copied inadvertently from the entry in Standard Additions' AS dictionary, which reads (in part):
choose from list v : Choose one or more items from a list choose from list list of number or string : a list of numbers and/or strings to display [with title string] : the dialog window title [with prompt string] : the prompt to be displayed in the dialog box etc...
The required syntax (with prompt) is shown in bold. The plain text after that (in this case, string) merely denotes the value class expected or required, and should be replaced by an actual value of the class indicated. |
_______________________________________________
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