• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Days and hours
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Days and hours


  • Subject: Re: Days and hours
  • From: kai <email@hidden>
  • Date: Thu, 20 Oct 2005 02:55:10 +0100


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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Days and hours
      • From: Yvan KOENIG <email@hidden>
References: 
 >Re: Days and hours (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: Days and hours
  • Next by Date: Re: About This Mac
  • Previous by thread: Re: Days and hours
  • Next by thread: Re: Days and hours
  • Index(es):
    • Date
    • Thread