• 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
Applescript ToDo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Applescript ToDo


  • Subject: Applescript ToDo
  • From: John Maisey <email@hidden>
  • Date: Thu, 17 Apr 2008 08:08:29 +0100

Does anyone know how to write a script to create new ToDo in Mail so that a rule can be set up when an email with particular criteria is received, a new ToDo in Mail/iCal is created?

Hi,
I don't think you can do it in Mail, but in iCal. Something like:
----
set theTitle to "test todo"
set theNotes to "descriptice text"
set dueDate to (current date) + 2 * days
tell application "iCal"
make new todo at the end of todos of calendar 1 with properties {summary:theTitle, description:theNotes, due date:dueDate}
end tell
----
Best wishes
John Maisey
www.nhoj.co.uk


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Prev by Date: Re: Image events: How do I cut out a region
  • Next by Date: RE: Applescript ToDo
  • Previous by thread: Applescript ToDo
  • Next by thread: RE: Applescript ToDo
  • Index(es):
    • Date
    • Thread