• 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
Here is the completed script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Here is the completed script


  • Subject: Here is the completed script
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 7 Jan 2005 14:11:27 -0700

It's designed to tell me how much longer I have to wait until my next social security check. <g>

set to date (date string of (current date))
set to )
set to -
set to div weeks
set to (( - ( * weeks)) div days)

display dialog & " weeks, " & & " days." as text giving up after

on )
set to "Dec 31, 2003"
set to date
copy to
set 's day to
set to - ( - ()) mod weeks
if is less than or equal to then
tell to set {day, day} to {, }
set to - ( - ()) mod weeks
end if
return
end computeSecondWednesday

--
In theory, theory and practice are the same.
In practice, they're not. --Yogi Berra
 _______________________________________________
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

  • Prev by Date: Re: FTP Server to dynamically create users
  • Next by Date: Re: Date computation
  • Previous by thread: Re: FTP Server to dynamically create users
  • Next by thread: corrupted messages in Eudora - how to reset status w/ AS? (answer)
  • Index(es):
    • Date
    • Thread