I have iCal events scheduled for various clients over a 6 week period based on a certain start date. ie Client 1,2 and 3 start on the next Monday and I have several iCal events set over a 6 week period that will trigger other different AppleScripts etc. (That works fine, but…)
If Client 2 decides to go on the program 1 week later than 1 and 3 and I have already scheduled his events, how do I select the already created events in iCal for Client 2 and move them all up by one week?
Here’s what I’ve got thus far:
tell application "Calendar"
tell calendar "ExampleCalendar"
set theEventList to every event whose summary contains "Client2"
end tell
end tell
This will select the events, now how do I move them all up one week (they all have different start dates obviously and are unequally spaced apart)
This would make my life much easier! Thank you.
Update:
Yosemite users can now reference selected Calendar events in AppleScript
Try:
Here is an alternate method.