Need applescript to batch modify email type field in address book

When migrating from Address Book to Entourage, somehow all of my email address fields were changed to the type "Other" as opposed to "Work" or "Home" this is causing these email address fields not to sync with Entourage or my exchange server.
I need a quick way to change each email from other to work as the default (even if there are two mail addresses).
Any applescript gurus who can help me write this script?
Thanks!

You don't need an AppleScript to do that; it would take longer to write the script than just doing it the old fashioned way. Select all those contacts you want to change, drag them to your Desktop as a single vCard, then open it with a Text editor and use the Find/Replace feature to change them all at once.
You'll need to Find "type=OTHER" and replace it with "type=WORK". Simple and fast.
Mulder

Similar Messages

  • New Field Type's in Address book

    Is there a limitation in field creation for Address book that precludes new field types. For example I would like to have a boolean field called "New Contact" true/False. When I export the vCard file I can process to pull the new contacts that must be processed, either with a script or a sort. Can be used to select only the new entries from exporting a smaller file too (5000 person's records).
    Would I be correct in assuming (from my trials) that importing a vCard file will only add the new contacts and overwrite any changes in the existing ones. Or will I get duplicates from differing records with same name.
    Hope it makes sense. To explain I am trying to find a method for syncing contact data between mulitple users, most on Macs but one (the boss!) on PC. Address book has no autosynce between remote users only iTouch/IPhone I gather.
    Cheers and Hi to this forum I new here.

    You can't add fields. Address Book keeps somewhere an "updated" date for each contact, but you can't see it in an exported vCard nor with Applescript.
    Importing a vCard where the name matches an existing one pops a prompt, which is not what you want in any sort of automated multi-used system.
    Have you considered setting up an LDAP server on one of the machines and having the other Address Books pull their data from it? I don't know any operational details, but think your situation is what it is intended for.
    AK

  • When emailing a group from address book it opens individual emails....

    When emailing a group from address book it opens individual emails for each name rather than one email with all email addresses listed. Have I set things up wrongly or is there something I can do to have a single email sent to multiple addressees via Address Book?

    Hello,
    When addressing an email for this group, are you
    entering only the name of the Group as the address?
    More info, please.
    Ernie
    Thanks for your reply.
    Yes, it works directly in Mail - type in group name and all's well and lovely - but if I'm in Address Book and want to email a group it opens numerous emails. THere seems to be no way of opening Mail from Address Book and go straight to emailing a group.
    Rob

  • Not all fields in Address Book are syncing

    For some reason not all the fields in my address book get synced from one computer to another. The template for all the fields in address book are the same on the different computers but the 'Department' field does not get synced. Any ideas how to fix this?

    So sorry...yes I'm using Contacts from Outlook.
    When I launch Field Mapping from the Advanced Settings for Address Book, the Handheld fields that are available for me to map to my Contacts in Outlook, do not include the fields previously mentioned so there is no way for me to map them to a destination field in Outlook.
    Maybe I'm using an old version of Desktop Manager??? Mine is version 3.6.0.63 (June 11 2003)...could you please let me know what version you have?
    Many thanks!

  • Adding Images To Note Field In Address Book

    Hello chaps,
    I'd like to be able to take a screengrab from streetmap and bung this into the notes field of Address Book so that I have a handy map of where my contact is whether I'm online or off. Anyone know of a way to do this?

    So far as I am aware, the notes field will only accommodate text. However, you could consider using the URL field for a reference to a file containing the map data, such as:
    file:///Users/username/Documents/Maps/picture%201.png

  • How do I send an email to my entire address book?

    Hi, I would like to send an email to my entire address book without laboriously having to go through the alphabet.  I have iMail.  How do I do this? Thanks.

    Hi,
    Go to compose a new message in Mail. Click on the little Address Book icon in the top bar of the new message. It'll bring up your entire address book and then you can select all the email addresses. Then choose the appropriate delivery method of To:, CC:, BCC:

  • Modify Transaction Type - field BEWAR

    Can "Transaction Type" field BEWAR be updated in posted documents?  Field BSEG-BEWAR is not an allowable field for change in OB32.
    We have created a new transaction type and would like to update many documents with this new Transaction type for reporting purposes.  Is there a way other than OB32 to select a field as changable?
    Thanks

    Hi Jeff,
         the transcation type is normally used in the consolidation ledger, and balances are kept per transaction type. Any field which is also used  in other ledgers cannot be modified in G/L documents only. It always means 'reverse in G/L and post with new value'.
    Ingrid

  • How can I delete an email not in my address book but remembered by Mail?

    If I type the name of a friend eg "Sam" into the address line, I expect it to pull the "Sam" from my address book. But mail remembers emails for "Sam" that I don't want to use, in its history. Can I delete them one by one, or all at once?

    Hi, and thanks, feel free to start a new topic if you should have any questions... tons of great helpers here!

  • List fields in Address Book

    Does anyone know how to set fixed fields in Address Boo when printing lists? I can't seem to set a default group of fields I want, and have o check off boxes every time I print.

    From what I can see from the preferences, there isn't a way, unless you hack the code to make it archive the settings. The program just isn't doing it right now. Perhaps in the next version.
    The other option is possibly a User Interface (UI) Applescript, but those are difficult to write. I never end up getting them right and it takes me more time to write them than I'd save with the script.

  • Unable to edit birthday field in Address book

    I am unable to edit a card in address book properly. If I try to enter a birthday in the birthday field by either May 2, 1972 or 05/02/1975 no input of any kind sticks. 
    Can anyone tell me why and how to fix this problem?

    There is something really weird going on. 
    If I start a blank test card and I type (all end in return):
    December 1 1973, the field goes blank
    If I type December 1 (return), the field changes to 1 December.  Then, if I put my cursor in, I can go back and add 1973, but not with the orignal December 1.
    I CAN write 1 December 1973, but not December 1 1973.
    This is bizarre.  It worked just fine before Lion. 
    In Canada (which is my chosen country and language on my keyboard when I set up my user) we say Month/Day/Year.  In Quebec I believe they would write 1 December 1973, but in Ontario we would write December 1, 1973.
    This is no longer intuitive and a huge time waster!

  • Unable to edit "Note:" field in Address Book

    I have updated to Mac OS X 10.6.4 one week ago (from 10.5.).
    Now for the first, I am trying to edit the "Note:" field of one of my contacts, but I am neither able to add text, nor can I delete text.
    I have 47 lines of text in that Note field and wanted to add a few words, but after typing it, it keeps disappearing after a few seconds. If I delete a few lines of text, they keep reappearing after a few seconds.
    Editing the Note field (which has less lines of text) in another contact first exhibited the same behavior, but now works flawlessly.
    Having the "Edit" button depressed or not, does not make a difference.
    Address Book Help says that this happens when there is not enough disk space, but I have over 41GB left.

    Hello Marcus and others,
    I have experienced the same issues with my Address Book (version 5.0). First things first, let me suggest you complete a back up of your address book:
    1. Go to the File drop down menu
    2. Click on Export
    3. Select *Address Book Archive* from the 2 choices
    4. Choose where you would like to store this back up. Let's just say the Desktop for now.
    5. Disclaimer, any unsaved data will be lost during this reset, so please back up all files you will need.
    6. After you have successfully archived your Address Book, turn off your computer.
    7. Now here's the important part, hold down the power button for at least 6 seconds or until you hear a loud sound or tone. This should reset your settings back to default.
    This is how I just fixed the problem with editing the Notes of my contacts in my Address Book 5.0
    Good luck and I hope this helps someone.
    Nupeologist

  • How did Nickname field in Address Book get filled in?

    I went to send an email to myself (I send to-do lists to myself because I forget everything ) from my imac and when I typed in my name, I noticed that in front of all of my email addresses, the label "Princess" was showing up. I had NEVER seen this before and this is NOT a nickname that I use for myself EVER. I started to get kind of nervous that anybody who sends me an email or gets an email from me is seeing this (corny) nickname. I could not understand where it came from. I send emails to myself quite often and this was the first time I had seen this.
    I went into my Address Book and sure enough under my name, there was a field I had never even known existed, "Nickname". It somehow filled in with "Princess". How the heck did this happen? The only other person with access to my imac is my husband and he is not imac savvy, he definitely didn't do it. I started to get nervous that something was hacked, I just really don't know how something like that could happen.
    Has this happened to anyone else?
    Thanks,
    Kate
    (definitely not a princess)

    That is weird...someone had to have put it there; either that, or Apple knows something about you and automatically populated that field. 
    If you are worried someone has unauthorized access to your account, though, you can just change the password and security questions.  I try to change my password and questions at least once a year even if I don't suspect any unauthorized access.
    You can also remove the nickname field entirely under Contacts' preferences.

  • Custom fields from Address Book on desktop don't sync to iPhone

    I recently switched from a Palm Treo to iPhone. The sync wasn't seamless so I am editing contact info one at a time. I noticed that when I add custom fields to a card in Address Book they don't sync to my contacts in iPhone...why?
    For example, I've created fields for the names of children but when I view the contact on my phone I only get the contacts Bday, Anniv and Notes section. Very frustrating since I'm spending time filling all of this info in. Can anyone help? Thanks!!

    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?

  • Multiple values in a user record field and Address Book

    Hi
    I'm working out a method of importing multiple users into an LDAP directory on OS X 10.4.4, and I've hit an interesting snag.
    When you export a user from Workgroup Manager, any fields in the user record that contain multiple values (multiple email addresses, work phone numbers, etc) contain their values separated by commas. For example:
    username::::[email protected],[email protected]:::
    However, when I view that LDAP entry in a networked Address Book, it only displays the first value, not the second or subsequent values. I've changed the Address Book template to specify multiple emails/phone numbers, but that doesn't do it.
    If I create my own import file, and pull it into Workgroup Manager, they import correctly into the user record, so I don't think I'm doing anything wrong on the server side.
    Does anyone know how to make Address Book display all the values?
    Thanks
    Matt

    if i'm not remembering read stuff wrong, these fileds have quite alot of limitations. and i think multiple values per field is such a limitation.

  • Add new text field in Address Book?

    I can export my address book using the Address Book Exporter Utility.
    However, instead of creating a label with First Last (e.g., Bob Dylan) as stored in Address Book, I would like to use a custom field, Mr. First Last & Family (Bob and Joan Dylan). I know I can make those edits in Excel after the export and send off to my mailing house, but then it isn't saved in Address book.
    If I create a custom field (say "Envelope Label") under Related Names, it doesn't export with that utility. Any ideas?

    Hai Ramesh ,
    Could u please ellobrate the requirement , you need new field to be added  in the screen level .
    Regards,
    K.Vinay Kumar

Maybe you are looking for

  • Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7

    Hello,  I need some help.  I am getting the following error just when updating my Photoshop CS6 app.   U44M1P7

  • Need help making photo page look clean,Time to show up on Google? Photoshop

    Just bought this Mac 2 days ago and am trying to make the switch. I was computer illeterate on my Dell as well but so far this program is pretty neat. I am trying to get my photo page cleaned up. I would like all the photos in a single row across the

  • 11.1.3 workspace web context issues

    Hi all, I am running an apparently successfully configured version of 11.1.1.3. Everything was working fine, until I stopped all the services so that I could take a backup, and then restarted them manually in the order recommended by Oracle. Now the

  • Dialog.show () does not return

    the documentation for java.awt.Dialog.show () says "If the dialog is modal and is not already visible, this call will not return until the dialog is hidden by calling hide or dispose.", but I was wondering why it does that and if theres any way to ge

  • Help me? (A olap dml problem)

    1.there is a example about olap dml in oracle's document: DBMS_AW.EXECUTE('limit product to top 10 based on PctChgSalesYrAgo (product 'ALL PRODUCTS' customer 'ALL CUSTOMERS' time ‘YEAR TO DATE 2001’)) DBMS_AW.EXECUTE('limit customer to customer.l