• 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: choose from list bug??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

--- 
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>)

  • Prev by Date: Re: choose from list bug??
  • Next by Date: Re: Shell script help - get date of last modified file in hierarchy
  • Previous by thread: Re: choose from list bug??
  • Next by thread: RE: choose from list bug??
  • Index(es):
    • Date
    • Thread