Re: choose from list - question
Re: choose from list - question
- Subject: Re: choose from list - question
- From: Kurt Klamp <email@hidden>
- Date: Thu, 3 Jan 2008 20:00:07 +0100
Am 03.01.2008 um 18:19 schrieb Michelle Steiner:
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
Thanks for clarification,
Kurt
_______________________________________________
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