Scripting iCal. 10.4 and 10.5 UID's incompatible?
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