My address book (3000+) is a mess, after bad sync with Google, etc.
The built-in duplicate finder is useless. It only finds a few, if any, duplicates.
I tried Mark Hunte’s script (http://macscripter.net/viewtopic.php?id=16646),
which worked well to FIND the dupes, but I then I just end up with a list of 1200+ duped contacts;
I want to scriptically MERGE the dupes with each other.
The AB dictionary has no action to “Merge.”
How can I take the duplicates and make AB merge them automatically?
I am not at a Mac right now so as to see Address Book’s applescript dictionary, but if it does not have a ‘merge’ action, you’re probably going to have to do it yourself. Without a Mac, I can’t give you an AppleScript, but you should (using a repeat statement) take every contact as a list, then one-by-one you should find its duplicate, merge the data (using if statements to check which has which data and overwriting those of older data), delete both of the original entries, and then create a new entry with the data.