Deleting Address Book Notes with Automator

I imported all my contacts from Yahoo and now there's a bunch of jibberish under all my contacts notes...well most of them. Is there anything I can run from automator to delete all notes from all contacts? I don't need any notes. Thanks!

paste the following into AppleScript Editor (it's in /Applications/Utilities) and press "run".
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
tell application "Address Book"
repeat with per in people
set note of per to ""
save
end repeat
end tell</pre>
Note: it might take a while for it to finish working if you have a lot of contacts.

Similar Messages

  • Applescript to delete Address Book note

    I have quite a few Address Book entries with a specific parenthetical note in the Notes field: (Priority).
    I'd like to remove "(Priority)" from all the Notes while not removing anything else in Note fields. Is there an easy Applescript to do this?
    Thanks in advance.
    /rb

    It appears my issue has been resolved with the help of thread you posted:
    http://discussions.apple.com/thread.jspa?threadID=2132340
    I did end up calling Apple Support to clarify the procedure so in case anyone else is having the problem, here is my version of the fix:
    As always, create a backup of your current Address Book in case something goes awry.
    1. Sign out of MobileMe in your Home account.
    2. Sign in to your Guest account or create a Test account.
    3. Sign in to MobileMe in the MobileMe preference pane in the Test/Guest account.
    4. Go to the Sync pane in the MobileMe preference pane and Sync. You will receive a question as to what you want to do. I chose to Replace contacts on the computer with contacts from MobileMe.
    5. After syncing you should have an address book without the contacts that were merged from the address book you had been subscribing to.
    6. Export an address book archive (extension .abbu). Copy the resulting file to a flash drive or an external hard drive that is available.
    7. Return to your home account and Import that file to your address book. You will get a message asking you if you want to replace all the contacts with the ones you are importing. Answer yes.
    8. Quit address book and re-launch. At this point you should see all your groups and contacts without the subscription contacts that were merged and couldn't be deleted.
    9. Sign in to MobileMe and re-enable syncing.

  • Delete Address Book Duplicates with less info?

    I was wondering how you would go about deleting duplicate contacts in Address Book 4.0.3? I want to keep the contacts I have which contain at least the "Company" field filled in (contacts with more info) but then delete the ones with less. If a bunch of vCards have the same name but different email addresses will will they merge into only one vCard (by default I think another program put multiple emails with the same name and when I merged vCards there was only one email address for that name)? Should I merge the ones I don't want?
    What do you guys think is the best solution? Should I merge the cards and make sure the names of the contacts are all different (except the ones I'm merging)? Use some other program? Please respond if you have an idea because I don't. Thanks.

    They also sometimes appear with a dash or minus sign infront of them.

  • Why can't I edit or delete Address Book "On My Mac" or sync with iCloud?

    Why can't I edit or delete Address Book cards on my Macs, now that I've migrated to iCloud?  I can edit/delete if I go to iCloud, but the changes don't sync with my Macs.  What's happening, and what's a solution?  Just wait for Apple to fix a bug?

    On your mac, if your look at the left panel of the Address Book, you'll find general categories of "iCloud" and possibly "On my mac" - if you have contacts in the latter, then they are only local to your mac, they are not shared with iCloud.  If you don't have an "iCloud" category, then your mac(s) is not set up of iCloud.  Go to system preferences and look in iCloud.  Is the mac signed into iCloud, are contacts turned on for syncing?

  • My MacBook Pro will not sync address book changes with my IPhone.  Why?  It used to.

    My MacBook Pro will not sync address book changes with my IPhone.  Why?  It used to.

    Then you may have to try manually resetting the syncservices folder by following Julian Write's post (from https://discussions.apple.com/message/9274781#9274781):
    Ok, as you can't reset SyncServices in the "normal" way, you'll have to resort to the "other" way:
    Although it's not advised to do so in normal circumstances, you'll need to manually delete the SyncServices folder.
    Before doing so, you MUST make a backup of both your Contacts and Calendars:
    In Address Book, choose *Export > Address Book Archive...* from the File menu.
    In iCal, choose *Back up iCal...* from the File menu.
    Then, make a backup of the SyncServices folder located at:
    ~/Library/Application Support/SyncServices
    By backing everything up first, you don't risk losing anything.
    Finally delete the aforementioned SyncServices folder and restart the Mac. This will force Mac OS X to recreate the SyncServices folder, and hopefully fix your problem.
    I believe in Snow Leopard you can back up your calendar in File>Export>iCal Archive rather than File>Back up iCal as posted above.

  • TS2755 Is there a fix to deleting already deleted address book contact, from messages search? i.e. when you type in say letter c in messages search, all contact with a c, past already deleted and current all appear?  How do you make the old deleted ones a

    Is there a fix to deleting already deleted address book contact, from messages search? i.e. when you type in say letter c in messages search, all contact with a c, past already deleted and current all appear?  How do you make the old deleted ones appear?

    only way is to restore the phone as new.  OR wait until IOS 7 comes out in the fall.

  • Why is my address book not syncing with my icloud contacts

    Why is my address book not syncing with my icloud contacts?
    I have my desk top and I have an iphone. I seem to have 2 different contacts list, 1 from my mac and the other icloud. If i add adress on my iphone to contact it does not sync to "my mac"

    thank you very much that worked.first i thought if i restored then I would lose everything but of course I could re-sync so everything good now!!

  • Address Book not syncing with Google Apps

    so i thought this will be resolved after reinstalling 10.5.7 (i tried a lot of tweaks in the earlier installation to make this work) but it seems that even with a clean install it wouldnt work.
    address book authenticates with google but no updates are being sent or recieved.
    did anyone manage to get this working ? i have a feeling its not out of the box...

    Hi guys,
    I have a similiar problem. My address booked has synced correctly with google contacts since 2 years
    And suddenly it stopped syncing. Furthermore when I go to settings/acconts  I still find
    my "Local" account where i configured my google account, but now the right window is empty.
    There is no button to edit or show this account !!
    (I mentioned this after update to 10.6.8, but I'm not sure if it worked shortly before doing the update)
    What could be wrong ?
    Regards jb0815

  • Address book not syncing with gmail

    I had my address book syncing with Gmail but it no longer does. I make a change on my Mac and nothing happens in the cloud. I believe I have it configured properly (Synchronize with Google is selected in Preferences > Accounts and configured). Currently, the only account listed is 'On My Mac (Local)'.
    o What might be the problem?
    o how can I force a sync?
    TIA,
    David

    For me, a few days later is just started working so I assumed it was a temp glitch. I am however now having trouble with ical updating to google. Also, an ongoing issue I have is that google or apple duplicates my contacts. I go into google, delete dupes, and then a day or two later they are all back.
    If anyone can help with apple to google sync, it would be greatly appreciated. When I say help, I mean get it working reliably and consistently. From everything I have read, I have everything set up right but clearly something is wrong.

  • Address book not syncing with Exchange contacts

    Address book not syncing with Exchange contacts
    After update to Mountain Lion contacts/address book is not syncing from Exchange Account.
    Calendar sync is OK.
    What to do?
    Some information:
    MacBook Pro late 2011
    OS: Mountain Lion (10.8)
    Mail version: 6.0
    Address book version: 7.0

    Waiting was the key solution here!
    After waiting aprox 2/3 hours it worked. Changed nothing...

  • Synch outlook contacts to contacts in blackberry storm 9550 with wired connection: "address book not installed"

    I have been synching outlook, calendar, address book contacts, task and memos, to my blackberry storm 9550 using outlook 2003 for about 6 months.  Somewhere along the line, MS Outlook on my PC no longer synchs with Blackberry contacts. I can still synch calendar, tasks and memos, but get a "not installed" for the address book contacts.  I have installed the latest blackberry desktop 6.1.0B38 and tried to reconfigure.  I still get "address book not installed" for the contacts.  This is a wired synch and wireless is turned off.  Any ideas how to fix? Davewi

    Hello davewi,
    The following article should help regarding the issue you are having:
    http://bbry.lv/sxXPtE
    Cheers,
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

  • Delete Address Book entries

    I've been trying to find out, whether with Automator or AppleScript, how to delete specific contacts from Address Book and am not having any luck. My ultimate goal is to back up 10 specific vCards and then delete them. I've gotten Automator to export the vCards of 10 people, but that's where I get stuck. Automator doesn't seem to have any actions that delete cards. I've tried Google for AppleScript on deleting Address Book cards but I really can't find anything. I can't even find a list of what actions I can use with AppleScript on Address Book. Any help would be appreciated.

    Anybody?

  • HT2500 delete address book entries

    How do you delete address book entries?

    Welcome to Apple Support Communities.
    With Address Book open, select the entry to be deleted in the Name (middle) column by clicking on it.
    Now select Edit, Delete Card from the top menubar.
    The option to delete a card does not appear unless a card is selected first.

  • "Address Book (not installed)" in Organizer

    I updated both my device software (5.0.0.973) and my desktop software (6.0.0.43) this morning.  After updating, when trying to sync to Outlook 2007 after that to the address book, it gave me a 0x80040fb3 error and wouldn't do any more synching.  I tried to delete the pictures and the problem contacts in Outlook.  Same thing happened after that.  Then I tried deleting the data in the Address Book and restoring it from backup.  Now it states in the Organizer screen of the BBDS that  "Address Book (not installed)".  I attempted to go to setup and click on the box to enable synching, but it won't save my selection.  My address on the device has been messed up ever since the original upgrade.  It only says one name and doesn't give me any options.  I might have messed this up when attempting to delete files.  Don't know.  Anyone know how to restore functionality to my address book?
    The above error occurred one time with Tasks synching and one time with Calendar synching.  Tried to delete all problem entries.

    I am running 6.0.0.43 desktop manager.  I downgraded the device software, not the desktop manager software.  What I did was either click on the "Update My Device" button in Desktop Manager or close out of Desktop Manager and do the device update online.
    I believe both will get you to the same place and will eventually give you a screen where a button reads "View Other Versions".  Click on that button.  It will then show your current version and other versions which you can downgrade to.  Select the one you want and let it do its thing.  Make sure everything you currently have is backed up, because you will want to do a restore.

  • Time Machine backup automatically deletes address book

    I accidentally deleted all contacts in address book.  When i attempt to restore the address book from time machine, the address book is restored then automatically deletes all contacts again.

    In case it will help anyone else, this is the rather complicated procedure worked out with Apple Support to restore Address Book to an earlier state.  Hopefully Apple will consider a switch of some sort to restart or re-initialize the contacts which would greatly simplify the procedure.
    If using iCloud, uncheck Contacts box in System Preferences>iCloud
    Quit Address Book
    Restore Address Book folder in User/LIbrary/Application Support to previous version with Time Machine
    Trash all Address Book preferences in User Library/Preferences
    Log Out/In or Restart
    Start Address Book and verify desired address book version is now available
    If not using iCloud you are done, otherwise you need to create new Address Book Folder with current file dates that contains desired previous data
    First Go to Web version of iCloud Contacts and erase all contacts
    From Address Book Export vCard with All Contacts
    Export vCard for each manually defined group
    Quit Address Book
    Trash Address Book folder in User/Library/Application Support
    Trash all Address Book preferences in User Library/Preferences
    Log Out/In or Restart
    Start Address Book and Import vCard with All Contacts
    Import vCard for each defined group one at a time and:
    Check review duplicates and keep new
    Select Last Import for each group and manually assign to Group Name
    Re-Check Contacts box in System Preferences>iCloud
    New address book should populate to iCloud and other devices

Maybe you are looking for