Re: Setting Calendar Category in Apple Script
Re: Setting Calendar Category in Apple Script
- Subject: Re: Setting Calendar Category in Apple Script
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 21 Jan 2013 16:39:18 -0800
- Thread-topic: Setting Calendar Category in Apple Script
Title: Re: Setting Calendar Category in Apple Script
On 1/21/13 3:45 PM, "Paul Berkowitz" <email@hidden> wrote:
Just in case there's some sort of bug that prevents you from setting the category at inception in Outlook, you'd add it to your newEvent after creating it this way:
set newEvent to make new calendar event with properties {all day flag:true, subject:myEvent, location:myLocation, start time:startTime, end time:endTime}
set category of newEvent to {myCategory}
Oops, sorry. I did that the Entourage way. In Outlook the second line would use 'categories':
set newEvent to make new calendar event with properties {all day flag:true, subject:myEvent, location:myLocation, start time:startTime, end time:endTime}
set categories of newEvent to {myCategory}
--
Paul Berkowitz
_______________________________________________
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