alfredo
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Jan-06-08 11:34 AM
Original message |
An AppleScript a Democrat will love. |
|
Copy this countdown script and put it in your AppleScript editor. That's in /Applications/AppleScript
Hit Run and you will see a delightful list of numbers. Come back later, do it again, and it gets better. You can save it as a script or an application. I don't remember where I got this script, the the author is our type of person.
Here's the script:
repeat set todaydate to current date set todayday to day of todaydate set todaytime to time of todaydate set todayyear to year of todaydate set launchdate to date "Tuesday, January 20, 2009 12:00:00 PM" set launchday to day of launchdate set launchtime to time of launchdate set launchyear to year of launchdate set yearsleft to launchyear - todayyear set daysleft to launchday - todayday set timeleft to 86400 - todaytime set totaltimeleft to timeleft + {86400 * daysleft} set totaltotaltimeleft to totaltimeleft + {yearsleft * 31536000} set unroundedminutesleft to totaltotaltimeleft / 60 set totalminutesleft to {round unroundedminutesleft} set unroundedhoursleft to totalminutesleft / 60 set totalhoursleft to {round unroundedhoursleft} set unroundeddaysleft to totalhoursleft / 24 set totaldaysleft to {round unroundeddaysleft} set unroundedyearsleft to totaldaysleft / 365 set totalyearsleft to {round unroundedyearsleft} if totaltotaltimeleft is less than or equal to 0 then display dialog "The wait is finally over!" exit repeat else display dialog "There are...
" & totalyearsleft & " years,
" & totaldaysleft & " days,
" & totalhoursleft & " hours,
" & totalminutesleft & " minutes, or
" & totaltotaltimeleft & " seconds left until the bush nightmare is over.
This dialog will auto-refresh every 10 seconds, or you can manually refresh it by clicking OK." giving up after 10 end if end repeat
|
GoneOffShore
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sat Jan-12-08 03:31 PM
Response to Original message |
alfredo
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Jan-13-08 03:01 PM
Response to Reply #1 |
DU
AdBot (1000+ posts) |
Sat Sep 20th 2025, 08:11 AM
Response to Original message |