Applescript ToDo
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