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.

Similar Messages

  • 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.

  • 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.

  • 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?

  • Deleted Address Book - HELP!

    I accidentally deleted Address Book. I was moving it to my Dock and missed, so it went to the desktop, then I put it on the dock and deleted it from my desktop. Aparently, that was the program and not a duplicate. Is there any way I can download it or pull it off one of the installation CDs?

    You should be able to load it from your installation DVD as one of the optional installations.
    AK

  • Accidentally deleted address book

    hi , am running leopard on a mac mini and accidentally deleted the address book program that was moved to the desktop from the applications folder and hiding behind the dock .
    Time machine wasn't set up to backup any data yet , and i'm afraid the entire address book has been lost . Just before the trash was emptied , there were numerous updates performed thru software update , for the iwork and ilife suites , and the computer has been restarted one time . I had also reinstalled the 10.5.1 update . is there any way to retrieve the deleted address book without having to use 3rd party software like pacifist to pull a new copy of address book from the leopard install disc and rebuild it from scratch ?

    Not that I know of.
    However, you only lost the application.
    You apparently did not loose all the information.
    The information is located in Users/Home/Library/Application Support/AddressBook folder.
    If that AddressBook folder is still there, then so is all of your information.
       Joseph Kriz

  • "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.

  • Can't delete address book entries!

    I am trying to sync Address Book with Google Mail, and as part of this, I have to delete all my addresses on one side and then copy from the other side.
    When I delete all my addresses in Address Book, quit, and relaunch Address Book, I find... all my addresses. Even if I delete them a few at a time, I still find most of my addresses after quit and relaunch. Is Address Book totally broken?
    For instance, I have 668 contacts. I delete one, quit, relaunch and I have 667 contacts. But if I have 667 contacts and delete 31, quit and relaunch and I have 667 contacts!
    Yes, all sync software is turned off.
    A

    Thank you V.K. I tried that, and restored from backup. Same behavior.
    Turns out that my address book was corrupted, and it appears that the corruption is preserved in the "abbu" backups. When I deleted the Address Book folder, and then imported from a vcf file, it was fixed. All my groups were gone of course.
    Still finding lots of bugs in Address Book not related to corrupt data, but this appears to be fixed

  • Can't sync Address Book note field to iPhone contacts

    Hi:
    I make heavy use of the "note:" field in my MacBook Address Book app. I store all kinds of detailed info about people, organizations, etc. in that field. I would like to be able to access that information on my iPhone 3G, but the phone's Contacts app has no corresponding "note" field.
    Could this be a result of the way I imported data into my MacBook when I first got it?
    In searching the fora, I found several people who said their iPhone contacts sync nicely with the Address Book note, and others who say it doesn't sync at all. Can anyone please shed some light on this for me?
    Thanks!

    Not quite sure what you mean by "editing" but I've tried every method of selecting, deleting, cursor placement, backspacing, and typing I can think of -- again, with and without the Edit button clicked. I did seem to accumulate a huge number of duplicates along the way, and there were more than a thousand cards in my Address Book; maybe I went over the limit?

  • HT4489 address book not loading to icloud?  it works fine in .mac  but not .me com?

    address book not loading in icloud. loads fine in .mac account but .me will not load?

    [email protected] and [email protected] are the same accounts.
    Are you saying that you are trying to sync your contacts to iCloud?  Are the two accounts you  mention ".mac" and ".me" actually different in that they are [email protected]  vs.  [email protected]?  If so, your device can only use one account at once - and you should stick to only one account.

  • 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.

  • Anyone having the letter n pop up in Address Book Notes?  Anyone able to tell me how to keep this from happening?

    Anyone having the letter n pop up in Address Book Notes?  Anyone able to tell me how to keep this from happening?

    You can upgrade to Mavericks free, just run the App Store program and search for Mavericks. But before you do upgrade I recommend the following:
    1) make sure you have a recent backup. TimeMachine is fine.
    2) Mavericks is somewhat more memory hungry than 10.7 was. You will need 4 GB of RAM and I strongly recommend 8 GB.
    Go back to the Apple menu and select About this Mac - look under the OS info you just looked at. You'll see how much RAM your computer has now. Then click on the More Info button. There you will see your computer info listed as in: iMac, 21.5" mid 2010, for example. Return back with that information and we can tell you how far the computer can be upgraded.
    If you decide to procede and you have enough RAM upgrading to Mavericks is quite simple. Click on the download button and let it do its job.

  • Is there a way to add an image to Address Book notes?

    I've tried copying an image from the clipboard and then pasting it into Address Book notes.  I've also tried moving the image in different formats, TIFF, JPG, PNG, directly to the notes section of Address Book, but still with no success.  Is there some other way to make this happen?
    Thanks

    Hello,
    This isn't possible in Address Book on 10.7.
    You can send a message to Apple here :
    http://www.apple.com/feedback/macosx.html
    And, maybe, they will add that feature in a next update; it could be an interesting improvement by the way.

  • How to import attachment into Address Book "Notes" field

    Is it possible to import an attachment into the Address Book "Notes" field? Jpg, PDF, pages doc, whatever...? Don't really care if the file is "visible" (IE if photo, can actually SEE photo)... a clickable icon would be fine.
    Thanks
    Ian

    Hi and Welcome to the Forums!
    I'm not aware of any direct connector provided by RIM for this purpose. They do supply an ASCII/CSV import capability...see this KB:
    KB11194 How to import contacts from an CSV file to the BlackBerry device
    You'd have to find out from AOL how to get your contacts exported to an ASCII or CSV file.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Complete Newbie - PAB Uniqueness

    Hmmm, sorry to post what must seem a very simple question to you guys, but we have Directory Server running with Messaging Server (with little training)! Our problems seems to have arisen when converting Outlook address books to CSV files, then squir

  • Got this error mesage, "Insufficient memory error"

    Hi All, When running external reconciliation for particular BP, the user encountered this error message "SAP Business One has run out of memory; It will shut down automatically in order to prevent data inconsistencies".  Then application will automat

  • I can't open jpeg images. Is there an encryption setting?

    I am trying to view a jpeg image sent to my email on my iphone from a remote computer. The images will not appear. Is there an encryption setting?

  • SCOM 2007 Runbook "Missing Extensions"

    Yes, I have the OM console installed on the Runbook server. We are using SCO 2012 R2 with SCOM 2007 R2 CU7.  I have a simple runbook which starts with the Monitor Date/Time activity > finds warnings > the age > and either closes the warning or create

  • Ideapad u330p - Left hot corners in Windows 8 not detected/ appearing

    As mentioned above, the left hot corners do not appear (I have tried switching both "application switching" buttons on in Chnage PC Settings --> General but nothing ever happens. Please help, thanks!