Re: choose from list defaults
Re: choose from list defaults
- Subject: Re: choose from list defaults
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 26 May 2008 13:52:33 +0200
Le 26 mai 2008 à 13:17, Nigel Garvey a écrit :
Robert Poland wrote on Sun, 25 May 2008 21:21:34 -0600:
Hoe about this for an example;
set choices to {"1-peas", "2-potatoes", "3-pumpkins", "4-
pumpernickels", "5-parsnips"}
set default_items to {"1-peas"}
choose from list choices default items default_items with multiple
selections allowed
Run it and select any number other than 1. Is this not a BUG?
Presumably you mean "type" any number.
From the AS release notes for Tiger: "The choose from list dialog now
allows a text item to be selected by typing the first few
characters of
its name."
So yes, if it's not working in Leopard, it's probably a bug. However,
since it's only ever worked in Tiger, it may not be the end of the
world. ;)
As a French native, I'm not sure that I understand well you late words.
Where you telling that the code was not working under Tiger ?
I ran the given script in Tiger
It starts with "1-peas" as the default item.
If I type 3 it selects "3-pumpkins"
If after that I press 5 it select "5-parsnips"
If after that I press 2 it select "2-potatoes"
Isn't it what it is supposed to do ?
So, from my experience, the code was OK in Tiger but was broken in
Leopard.
Yvan KOENIG (from FRANCE lundi 26 mai 2008 13:52:27) _______________________________________________
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