Referencing and hopfully deleting custom dates in Address Book?

I'm really struggling with this as a AS newbie.
I want to delete all custom date values from selected Address Book records. I am using the following script which successfully deletes Birthdays but cannot handle custom dates such as "Anniversary".
can someone please help me out?
Thanks Paul
tell application "Address Book"
set mySelection to selection
repeat with this_person in mySelection
delete birth date of this_person
end repeat
save addressbook
end tell

Hi palouis
I think this is what your after, but according to the Applescript Engineer Chris Nebel, it appears that their is a bug, maybe follow it up to see where they are at with fixing it.
http://lists.apple.com/archives/applescript-users/2007/Nov/msg00115.html
Budgie

Similar Messages

  • Deleting custom labels from Address Book (& iPhone !)

    Not sure if this has been covered, but I've got a lot of extrraneous custom labels created in Address Book.
    Does anyone know how to remove the ones not wanted any longer ? Just that the list gets longer and longer each time !
    Shame Apple didn't think to have all labels done with the first letter capitalised - looks much better that way.

    I also migrated from a Treo to an iPhone, and was hoping to have custom field information transfer from my desktop to my iPhone. It would be rather handy when I need help remembering the name of someone's spouse, etc. Has someone created an iPhone app for this perhaps?

  • HT2486 Can't delete a group in address book and import is greyed out.

    I cannot delete a group from address book and when I choose file>import, import is greyed out and not accessible?  Any thoughts?

    I have the same question. Such a simple action!  APPLE  help!!! 
    Used to love this brand!

  • I'm trying to print a custom envelope fro address book and keep getting the message No Pages were selected from the document.

    I'm trying to print a custom envelope from Address book using one of my groups. I keep getting a No Pages were selected message. Anybody have any Ideas?

    Hello, I find that only entries with Home or Work filled in with an address will show.
    Might try right clicking on this link & saving Apple's Addy, then import this vCard, select it & see if it shows one envelope...
    http://web.fastermac.net/~bdaqua/AppleComputerInc.vcf

  • Is it possible to subscribe to dates in Address Book other than birthdays?

    iCal can subscribe to birthdays that have been entered into Address Book.  Is it possible to have iCal pick up other dates that have been included in Address Book entries (anniversary, etc)?
    Steve

    Hi Steve,
    I wrote an application that would enable you do this. Take a look at Dates to iCal. It is £4 shareware with a 3 week demo.
    As well as automatically syncing birthday dates from Address Book, Dates to iCal can sync anniversary and custom dates. It can set up to five alarms for each date in iCal and can also set different alarms for birthdays and anniversaries. It allows the option of only syncing from one Address Book group. It application also allows for the titles of the events sent to iCal to be modified.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreementrequires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Problem Adding Custom Labels to Address Book

    I add custom labels to the Template in Address Book Preferences. There's no problem at this stage, the custom labels appear along with the preset labels in the Template. But when I leave Preferences, go back to Address Book and add a new card, the custom labels disappear.
    What am I doing wrong?
    Any help would be appreciated. And thank you in advance.

    Barney-15E: Thanks for your previous reply!
    Would you check this work-around for me? I think I found a way to compose a master list of custom labels and have them available for multiple cards (new and old) in Address Book on a MacBookPro and in the Contacts directory on an iPhone. I have tried compiling a master list of custom labels using Address Book Preferences/Template and I find there's a limit to the number of custom labels I can add as a label for each field.
    Here's my workaround.
    1) Go to the iPhone Contacts directory.
    2) Add a new card.
    2) Enter data in these fields: address, date, email, and phone. The standard label will appear on the screen below the data.
    3) Tap the standard label and you will go to a screen with 2 windows. The top window has the standard or preset labels for that field but below it in a second window is a button "Add Custom Label". Tap on this button and you will be able to add the text for a Custom Label for each of these fields. This will then become a master list of Custom Labels that can be used in most labels in the iPhone Contacts Directory.
    4) If you have your IPhone set up to synch with your MacBookPro or iMac, the entry in the iPhone Contacts directory will be transferred to your other Mac, with the Custom Labels.
    Barney - 15E: Can you find a glitch??? To me it seems to make a master list of custom labels available for all card, new and old. The only problem is that the input has to be done on the iPhone.

  • How to delete all contact in address book

    Hi,
    How to delete all contact in address book.
    And disable the address book to sync with outlook 2011.
    Using Macook pro 10.7.2

    Actually I already copy all my cd,mp3 in my itunes I got 2457items song (all in my mac os hardisk).
    Now I need to sync all my music and movie using icloud or itunes match.
    I don;t want to use the cable. I wanted to sync using  icloud or itunes match.
    1. Can all the music and movie sync with icloud and direct sync with my iphone?
    2. Or all music and movie using itunes match and sync into my iphone?
    Is the cable only the way to sync all the  music and movie.
    Thank you.

  • How to delete duplicate entries in address book

    Is there an easy way to delete duplicate entries in Address Book?

    I have an iPhone where I create new contact details and a MB Air running OX X 10.7.3
    In Address Book I see duplicate entries across the whole book. The other day I was traveling without my MB and needed to urgently reach someone who's number I knew was in my iPhone contact list for sure but searched and search and couldn't find it.
    Turns out that when I had been going through the Adress Book on the MB Air trying to eliminate some of the duplicates I had chosed --without even knowing it or realzing it-- the card that I guess sync with my iPhone. It was gone. Sure enough, when I got back and looked it up on the MB Air it was still there not syncing to my iPhone.
    I have used Address Book / Card / Look for Duplicates ...
    I have also followed the Help suggesting and pressed Control / select to highlight two duplicate cards and even though the First / Last / Company / phone numbers / etc. are all the same I get the message: "The cards could not be merged because they came from different accounts."
    I have checked with guys from the office who have the exact same problem with no idea how to solve the problem.
    Is it that in order to use Address Book on both an iPhone and an OS X machine you've just got to be smarter, more sophisticated, more IT oriented?
    Seems like a pretty easy thing not to be struggling with.
    I should mention that I was a Mobile Me subscriber and now use iCloud which I'm sure has something to do with all of this.
    But it seems pretty basic to me. If I have an Address Book it should synchronize between OX X and IOS.

  • J2ME - How to read and write contacts to native phone address book?

    I am working on application, which has to get data from the database and write contact to native phone address book (address book API)
    Can any one please let me know how to accomplice the above task? If any one worked on this kind of application please provide necessary information
    Also let me know what all the java phone that supports above feature
    Similarly is it possible to achieve the same task using J2ME in BREW phones (not through BREW language) that support Java?
    Thanks in advance
    Regards,
    Kumar.M.R

    JSR 75 might be the answer to your question. It seems that this is pretty new technology which would probably limit the number of cell phones your application can run upon.
    check:
    http://www.ddj.com/dept/java/184406463
    Please send replies regarding your progress.

  • HT2486 deleting a contact from address book

    How do you delete a contact from address book on an imac?

    Highlight a card and go to the File menu > Edit > Delete Card

  • How do I remove on my mac data from address book

    I want to get rid of my on my mac data from address book locally on my imac and just use the icloud data to populate address book.  Someone else set up my other machines in the office that way, and I want to do it the same on this imac.  How can I do this?
    Thank you.

    Hi Csound1,
    I am stogling with the same issue posted on this discussion.
    Exchange2013 and raw contacts populated on my contacts as well as on the exchange server (I have seeing it using a PC and outlook).
    You sugest to clean on My Mac contacts. Do not set on My Mac as a default account. Following is what I found:
    There is no way to get out the on My Mac account from contacts.
    There is no way set any default account on contacts>preferences>general
    The on My Mac contacts list IS EMPTY and the '-' sign is hidden on the contacts>preferences>accounts.
    When I turn on my Exchange Account on my contacts are downloaded from the server, however, I still not able to set ANY DEFAULT ACCOUNT at all.
    If I leave like it is 2 days later I will have at least a dozen of those expurious emails on my contacts list.
    Thanks,
    Edson

  • Repeat data in address book notes field

    I have certain address book cards that have up to 50 duplicate entries in the notes fields. I read an archived post that had this as the beginning of how to troubleshoot the problem.
    It would be interesting to see whether it is storing it duplicated, or merely displaying it duplicated. Run script editor, and paste in this:
    tell application "Address Book"
    note of person "Joe Smith"
    end tell
    Change the Joe Smith to one of people whose cards exhibitit the problem, run the script, and tell us if the duplication shows.
    AK
    I followed this instruction and it only showed the data once, so I assume that means it's "merely displaying it duplicated." Does anyone know how to get rid of this repeat data once and for all?
    Thanks

    Hi Bruce,
    I was at the Apple Store in Bridgewater, NJ yesterday. Of course the genius manager knew the answer in a New York second! I felt so stupid!
    Just go to the preferences of Address Book - click "Vcard" at the top and check the "export notes" pref.
    How could we NOT know that!! Nothing like the "genius's" at Apple!
    Larry

  • HT204053 My wife just got this iPad mini and I want to copy the address book on my iPad 2 over to the mini. Can I use iCloud to do this?

    My wife just got this iPad mini and I want to copy the address book on my iPad 2 over to the mini. Can I use iCloud to do this and what are the steps. The 2 devices have different Apple IDs.

    Download the "My Contacts Backup" app from App Store to your iPad 2. Make a backup and send it by email to your wife's address. Open this email from iPad mini and tap the attachment to import the contacts into iPad mini Contacts app.
    Message was edited by: cheonweb

  • How do I have the list of groups as well as individuals and their information show up in address book?

    How do I have the list of groups as well as individuals and their information show up in address book?

    Let me rephrase... 
    How do I get all of the panes (groups, individuals and individual information) to show at the same time now in Lion Address Book?

  • HT1296 I have the original iPhone and I can't sync the address book from my Mac to the iPhone. What should be the problem and can I sync?

    I have the original iPhone and I can't sync the address book from my Mac to the iPhone. What should be the problem and can I sync?

    Thanks a lot for the answer. I'm so upset, have no even one contact on my phone. I has to do with the moving to iCloud from MobileMe.
    I did exactly what you wrote, and when trying to click the vcf file on the iPhone the screen freezing, and then after few long seconds it goes alon to home.
    So I tried less contacts in a Vcard, and i'm dividing my address book, doing little by little and it work.
    Thank you so much.
    I still dont get why the sync with my computer address book is not working.
    And why when I moved to icloud all the photos I had next to the contacts are disappered.
    I had my iPad, which it still, I did not move from MobileMe to iCloud and all the photos are there!
    Anything I can do to use the iCloud on the iPad as well and update the iCloud with the photos?

Maybe you are looking for