Last active
December 14, 2015 08:59
-
-
Save AaronJackson/5061397 to your computer and use it in GitHub Desktop.
Updating many events in iCal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set theEvents to {} | |
tell application "Calendar" | |
tell calendar "Calendar" | |
set theEvents to every event whose summary contains "IDM-" or summary contains "ICP-" | |
repeat with theEvent in theEvents | |
tell theEvent | |
set location to "Dean Street, Bangor, Gwynedd, UK" | |
end tell | |
end repeat | |
end tell | |
end tell | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment