1
vote
1answer
21 views

Where is addressbook:// stored

I wrote an applescript that finds a person in my contact list. tell application "Contacts" set thePeople to first person whose first name is equal to "John" and last name is equal to "Doe" end ...
1
vote
1answer
225 views

How can I change Contacts.app custom labels automatically using AppleScript?

Is there a way to change the current labels in Contacts.app to custom ones using AppleScript based on a specific criteria? Here is what I mean: I need the script to go through my contacts to change ...
1
vote
1answer
229 views

Using AppleScript to modify contacts not working

I'm trying to use applescript to clean up various problems a large address book, to large to fix by hand. I've been able to find and observe contacts and groups in AppleScript successfully. However, ...
0
votes
1answer
532 views

Any way to delete custom fields of cards in Contacts.app?

Some custom fields of contact cards in Contacts.app are really annoying. For example, nicknames always appear in Mail.app. To make things worse, there seems to be no menu option to delete custom ...
0
votes
2answers
2k views

Applescript to add sender of message to specific group in Contacts

I'm trying to set up an Applescript to add the sender of a selected message in Apple Mail to a specific group in the Contacts app. By reconfiguring the code provided in this answer, I worked up the ...
1
vote
1answer
425 views

Script to delete all groups in contacts

I would like to have a script to delete all my groups in my Contacts. Somehow I got a kind of replication bug resulting in over 500 groups. Delete them one by one is not an option. Tried this script, ...
1
vote
1answer
672 views

applescript to find contacts that are not in any group

I have been using a script that does not work anymore in mountain lion even though I have changed the words "address book" to "contacts". If you select all the contacts, and then use the script, it ...
0
votes
1answer
822 views

AppleScript to compare contacts in two groups and remove duplicate from one group

I want to create an AppleScript for Apple's Address Book (Contacts) app that will look at two Groups, and if a contact is in one Group, it will remove it from the other Group. Specifically, I add ...