r/applescript • u/spark030405 • 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...
- X-ABShowAs:COMPANY
- Item2.X-ABLabel:_$!%3CHomePage%3E!$_X-ABShowAs:COMPANY
- item1.X-ABADR
- 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
View all comments
Show parent comment
2
u/spark030405 May 14 '23
thanks. will look into that workflow 🙂