• 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
Re: Setting Calendar Category in Apple Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Setting Calendar Category in Apple Script (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Anyway to update Mail.app Rules in Applescript?
  • Next by Date: Re: Anyway to update Mail.app Rules in Applescript?
  • Previous by thread: Re: Setting Calendar Category in Apple Script
  • Next by thread: Scripting Mail
  • Index(es):
    • Date
    • Thread