Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

choose from list bug??



Title: choose from list bug??
Is "Choose from list" broken? Here is my test script:

set a to {"a", "b", "c"}
set pstring to "Choose a letter"
choose from list a OK button name "Choose" with prompt string pstring
The event log in Script Editor shows:

tell current application
       
choose from list {"a", "b", "c"} OK button name "Choose" with prompt string "Choose a letter"
          
"Can't make string \"Choose a letter\" into type string."

Is there something I'm missing? I couldn't find anything in the list archives discussing this.

Thanks,

Don

-- 
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.