hi 

i need to create a large number of recurring events for setting up the periodic 1-1s. 

i have tried to use the applescript, and i am able to create a standard event without recurrence. however when i add the recurrence piece it fails to create event. your help is greatly appreciated

standalone event creation code

tell application "Microsoft Outlook"

set sd to current date

set time of sd to (13 * 60 * 60)

set evt to make new calendar event with properties {start time:sd, end time:sd + 60 * minutes, subject:"test", content:"test content"}

end tell


above script works


tell application "Microsoft Outlook"

set sd to current date

set time of sd to (13 * 60 * 60)

set evt to make new calendar event with properties {start time:sd, end time:sd + 60 * minutes, subject:"test", content:"test content", recurrence:{start date:sd, end date:{end type:"no end type"}, recurrence type:"daily", occurrence interval:2,  days of week:{"wednesday"}}}


end tell


above script doesnt work. pl help.


i am getting the following error


error "Microsoft Outlook got an error: Can’t make {start date:date \"Wednesday, 6 November 2013 1:00:00 PM\", end date:{end type:\"no end type\"}, recurrence type:\"daily\", occurrence interval:2, month number:11, day of month:1, ordinal:1, days of week:{\"wednesday\"}} into type recurrence, missing value." 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.