Re: choose from list - question
Re: choose from list - question
- Subject: Re: choose from list - question
- From: Michelle Steiner <email@hidden>
- Date: Thu, 3 Jan 2008 10:19:35 -0700
On Jan 3, 2008, at 10:07 AM, Kurt Klamp wrote: Maybe something like this. I only changed 'default items {2}' into 'default items {item 2 of theList}' and it works for me.
You are right, this is a possible workaround/alternative, but the standard addition dictionary says:
No, it is not a workaround; it is the way to do it.
So if i'm right, the dictionary tells me that i can preselect some items by number(index in list) or by content. You're not right; the dictionary tells you that you can preselect some items by content; the content can be a number or a string.
Try this:
set theList to {1, "A", 2, "B", 3, "C"} choose from list theList default items {2, "C"} with multiple selections allowed
-- Michelle
-- Reading computer manuals without the hardware is as frustrating as reading sex manuals without the software. -- Clarke's sixth law
|
_______________________________________________
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