Clean Outlook contacts AppleScript

Apple’s Address Book is a great contact manager that comes with every Mac. So when I made the ‘switch’ I easily imported my Outlook contacts using the vCard format. However the ‘notes’ section of all my contacts looked like this:

address-book

So I wrote one of the simplest Address Book AppleScripts ever. Check it out:


tell application "Address Book"

set peopleCount to (count every person)

repeat with i from 1 to peopleCount

set note of person i to ""

end repeat

end tell

This site got me started on the script:

http://paulschreiber.com/blog/2007/02/13/address-book-applescript-example/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: