Need Help in Grep | cross pond high tech | Scoop.it

Over the past years, I have found AppleScript very efficient when it comes to manipulate and process Contact or Agenda information on a Mac, either to detect and process duplicates, as well as for updating dozens of contacts when corporate mail domaine changes, building and maintaining mailing lists through specific tags in the "Notes" field, or processing boucing emails "en masse" to clean up address book after season's greetings.

 

ics-file-cleaner is An AppleScript designed to process and trim (organizers, attendees, requests) .ics files sent from Outlook before importing them in iCal.

This is the only way to avoid iCal resending or confirming invites via Outlook, or canceling an invent and notifying attendees while you just removed it from iCal.

 

The following AppleScript is triggered by a mail rule and process the .ics file content before opening it with iCal/Calendar app - which results in an import.

 

It has been posted on GitHub so it can be forked and improved beyond my basic and remnant AppleScript skills.