r/applescript • • May 14 '23

Newbie, help with using Apple Script

Anyone out there happy to help me learn/use Apple Script to fix a little problem where my contacts have been corrupted by by Outlook syncing with my iCloud account?

Looking to create a script that will go through my Contacts App database (individual contacts files), and search for the following four strings of text and delete them from each file...

  1. X-ABShowAs:COMPANY
  2. Item2.X-ABLabel:_$!%3CHomePage%3E!$_X-ABShowAs:COMPANY
  3. item1.X-ABADR
  4. item1.X-ABLabel

This will all be done in a new Test User Account using a duplicate copy of my contacts database, to check it works without messaging up my iCloud account!

2 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/spark030405 May 14 '23

thanks. will look into that workflow 🙂