Mailing Lists: Apple Mailing Lists

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

Re: Days and hours




On 19 oct. 05, at 21:44, Nigel Garvey wrote:

Does this do it?

Characteristically ingenious, Mr. G. :-)

It's worked on every WorldScript compatible region that I've tried (and has a more robust 'feel' than the tid-based solution I was initially playing with). FWIW, I've just been tinkering with this slight variation:

------------

tell "1 1 1" to tell my date it
set day to 25
set w to date string's words
set day to 32
considering case
tell date string's words to repeat with i from 1 to count
tell item i to if it is not w's item i and it is not "1" then
set l to {w's item i, it}
exit repeat
end if
end repeat
end considering
repeat 10 times
set day to 32
set l's end to date string's word i
end repeat
end tell
choose from list l


------------

---
kai


_______________________________________________ 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

This email sent to email@hidden
References: 
 >Re: Days and hours (From: "Nigel Garvey" <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.