• 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: Scripting calendar - UIDs and moving from one cal to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting calendar - UIDs and moving from one cal to another


  • Subject: Re: Scripting calendar - UIDs and moving from one cal to another
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 01 Dec 2015 09:47:03 +1100

On 1 Dec 2015, at 2:09 AM, Jay Louvion <email@hidden> wrote:
>
> Now. I have noticed the UID seem to be unique, regardless of the calendar.

Usually, but not necessarily. Events actually have two ids, a calendarItemIdentifier and a calendarItemExternalIdentifier. The former is unique, although it can change when calendars are synced. The latter is what is exposed to scripting.

The documentation has this to say about the calendarItemExternalIdentifier:

> This identifier allows you to access the same event or reminder across multiple devices.
>
> There are some cases where duplicate copies of a calendar item can exist in the same database:
>
> 	• A calendar item was imported from an ICS file into multiple calendars
>
> 	• An event was created in a calendar shared with the user and the user was also invited to the event
>
> 	• The user is a delegate of a calendar that also has this event
>
> 	• A subscribed calendar was added to multiple accounts
>
> In such cases, you should choose between calendar items based on other factors, such as the calendar or source.
>
> Recurring event identifiers are the same for all occurrences. If you wish to differentiate between occurrences, you may want to use the start date.
>
> For Exchange servers, the identifier is different between iOS and OS X and different between devices for reminders.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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


  • Follow-Ups:
    • Re: Scripting calendar - UIDs and moving from one cal to another
      • From: Jay Louvion <email@hidden>
References: 
 >Scripting calendar - UIDs and moving from one cal to another (From: Jay Louvion <email@hidden>)

  • Prev by Date: How Do You Guys Manage Development/Installation of Complex Applescript Projects?
  • Next by Date: Re: Scripting calendar - UIDs and moving from one cal to another
  • Previous by thread: Scripting calendar - UIDs and moving from one cal to another
  • Next by thread: Re: Scripting calendar - UIDs and moving from one cal to another
  • Index(es):
    • Date
    • Thread