Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: choose from list bug??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: choose from list bug??




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.

--- 
kai


 _______________________________________________
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

References: 
 >Re: choose from list bug?? (From: "Stockly, Ed" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.