Re: choose from list - question
Re: choose from list - question
- Subject: Re: choose from list - question
- From: Bastiaan Boertien <email@hidden>
- Date: Thu, 3 Jan 2008 17:42:42 +0100
Hi Kurt,
Maybe something like this. I only changed 'default items {2}' into
'default items {item 2 of theList}' and it works for me.
email@hidden
set theList to {}
set i to 2
repeat 5 times
set end of theList to (short date string of ((current date) + i *
days))
set i to i + 5
end repeat
set theresult to choose from list theList with title "Select" with
prompt "Please choose at least one item!" default items {item 2 of
theList}
greets bas
Op 3-jan-2008, om 17:35 heeft Kurt Klamp het volgende geschreven:
Anyone can confirm ?
set theList to {}
set i to 2
repeat 5 times
set end of theList to (short date string of ((current date) + i *
days))
set i to i + 5
end repeat
set theresult to choose from list theList with title "Select" with
prompt "Please choose at least one item!" default items {2}
the 'default items' part of the 'choose from list' command seems to
work not reliable.
in 9 of 10 cases the given default items aren't selected.
OS 10.4.11
TIA,
Kurt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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