• 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
Scripting iCal. 10.4 and 10.5 UID's incompatible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting iCal. 10.4 and 10.5 UID's incompatible?


  • Subject: Scripting iCal. 10.4 and 10.5 UID's incompatible?
  • From: John M <email@hidden>
  • Date: Mon, 29 Oct 2007 14:20:50 +0000

Hi all,

The "uid" property of events in iCal seems incompatible between Tiger and Leopard.

Example script:
--
tell application "iCal" to uid of event 1 of calendar 1
--

Compiled under 10.4 and run in 10.5 the following error is generated:
--
Can't get «class wr10» of «class wrev» 1 of «class wres» 1 of application "iCal".
--


Compiled under 10.5 and run in 10.4 the following error is generated. ("uid" seems to be compiled to "id"):
--
iCal got an error: Can't make id of every event 1 of calendar 1 of into type reference.
--


Is it a bug?
Am I missing something to make this work on both systems?
Can someone suggest a way of making this script compatible for both 10.4 and 10.5?


Thanks & best wishes

John Maisey
www.nhoj.co.uk


_______________________________________________ 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 iCal. 10.4 and 10.5 UID's incompatible?
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Folder Icon
  • Next by Date: Re: Release notes
  • Previous by thread: Re: Folder Icon
  • Next by thread: Re: Scripting iCal. 10.4 and 10.5 UID's incompatible?
  • Index(es):
    • Date
    • Thread