Change Address Book numbers to international format

Mar 20, '07 07:30:01AM

Contributed by: loren_ryter

I travel internationally and get annoyed when my Address Book numbers (that sync with my cell phone) aren't in international format (+-country code-area code-number). I looked around a bit and couldn't find a good script for this so I wrote one (24.4KB download, macosxhints mirror). This will take a selection in Address book and do its best to parse a recommended substitute, based on a bit of information given in the script properties and on the city and country of the contact itself.

If I had the time, I would clean this up and release it under my Wooden Brain Concepts hat. To do that would mean mostly adding a much fuller list of country and city codes -- right now they are limited to my own most-common use. But the script comments explain how to put in your own. (If anyone knows of a good, fast, free machine-readable site to curl this sort of data from, please let me know! It needs to get country codes for countries and both city/area and country codes for cites.) However, I still thought others may find it useful in its current state, so here it is.

Comments (4)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20070316001856199