Script "Delete duplicates from iCal v2"
Script "Delete duplicates from iCal v2"
- Subject: Script "Delete duplicates from iCal v2"
- From: Robert Poland <email@hidden>
- Date: Sat, 14 Jan 2006 15:19:04 -0700
Hi,
OS 10.4.4, iCal 2.0.3.
I tried this script from Google to Delete duplicates from iCal.
Although it's not that old it fails at "set sourceCal" - Can't make
application "iCal" into type list.
Any ideas?
Tia,
-- Delete duplicates from iCal v2 --
-- Applescript -- John Maisey 27/5/5 --
-- Modified 2/6/5 --
-- Duplicates being events with same title and start time in one calendar --
tell application "iCal"
set sourceCal to first calendar whose title is (item 1 of
((choose from list) = AC (title of (every calendar) as list) with
prompt "Choose calendar to delete duplicates"))
set testThen to (current date) -- time tester
set mySumms to summary of events of sourceCal
set myStarts to start date of events of sourceCal
set myUIDs to uid of events of sourceCal
end tell
--Snip--
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden