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

iCal Script


  • Subject: iCal Script
  • From: Saline Erik <email@hidden>
  • Date: Wed, 26 Apr 2006 10:18:39 -0700

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:
This email sent to email@hidden


  • Prev by Date: Re: Struggling with a script
  • Next by Date: Using a script with WGM [was Re: Struggling with a script]
  • Previous by thread: Re: Passing variable from javascript to applescript
  • Next by thread: Mark todo as complete
  • Index(es):
    • Date
    • Thread