Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a large Address Book (on Mac 10.5) that has 80% of the phone numbers listed as "other".

When I sync the address book with my server, the "other" numbers aren't included.

Is there a way to batch change all "other" labels to "mobile"?

share|improve this question
up vote 5 down vote accepted

I have successfully used the following AppleScript:

tell application "Address Book"
    repeat with thisPerson in every person
            repeat with thisPhone in every phone of thisPerson
                if label of thisPhone = "other" then
                    set label of thisPhone to "mobile"
                end if
            end repeat
        on error errorMessage
            log errorMessage
        end try
    end repeat
end tell

In short, it changes all other phone numbers to mobile, which in turn causes the phone number to be synced.

share|improve this answer
Hi Vidar. Thank you for Your answer. I did originally find a cumbersome solution of importing everything to Outlook 2011. Here "other" is changed automatically and can then be exported back to address book :-) – ulrikhansen Jan 3 '11 at 8:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .