• 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
Queueing messages at a future date in Eudora
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Broadcasting an AppleEvent
  • Next by Date: Re: Unicode to plain text
  • Previous by thread: Re: Sending Control-T to Terminal
  • Next by thread: Mail attachment
  • Index(es):
    • Date
    • Thread