Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iCal Script



I am looking to create a Rule for Mail to automatically create a To Do for iCal Here is what I was able to create so far. The script creates the To Do very nice.


tell application "iCal"
set newTodo to make new todo at the end of todos of mailCal -- create the new ToDo item
tell newTodo -- fill the properties with the extracted information
set summary to curText
set description to curBody
set due date to ((current date) + 24 * hours)
set priority to 0
--needed help
end tell
end tell


Am looking to have it automatically set to display an alarm any minutes before the due date.

set display alarm to trigger interval 15

What do I need to complete this?



Erik

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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.