Queueing messages at a future date in Eudora
Queueing messages at a future date in Eudora
- Subject: Queueing messages at a future date in Eudora
- From: David Crowe <email@hidden>
- Date: Sat, 21 Sep 2002 09:00:00 -0600
Thanks to some assistance on the list, I was able to come up with the
following to queue a message at 9am tomorrow in Eudora:
set CurrentTime to time of (current date)
set CurrentHours to CurrentTime div (60 * 60)
set CurrentSeconds to CurrentTime mod 60
set CurrentMinutes to (CurrentTime mod (60 * 60)) div 60
set TomorrowMorning to (current date) + (24-CurrentHours+9) * 60 * 60
- CurrentSeconds - (CurrentMinutes * 60)
tell application "Eudora"
try
queue message 1 for TomorrowMorning
end
end tell
Note that I could use 'hours' instead of 60*60. Also note that I have
to include "current date" in parens to avoid a syntax error, even
though my applescript book says this isn't necessary (and so does the
Standard Additions dictionary).
- David Crowe
P.S. This message was queued using this script
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.