Import Address Problem

Hi Folks,
I am trying to import about 1000 addresses to Add Book from a tab delimited ASCII text file. The addresses are all from London, England and consequently the County Field (State in the US) is empty. However regardless of how I import the data, address book puts a carriage return in the County field, which means when I print Mailing Labels (using Imprint from Ampersandbox) there is always a blank line between the City (London) and the Post Code (ZIP).
I've tried importing the county field from the text file, not importing it, deleting the county field from the text file (editing in MS Excel), and importing and not importing it like this, but to no avail.
Does anybody know how to counteract this, rather than doing it manually which is very tedious!
Cheers
Doug
G5 Dual 2.0GHz   Mac OS X (10.4.8)  

Try this script. As it has only been tested on a single card, I would advise backing up your AB data first!
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
repeat with ThisPerson in people
if (city of address 1 of ThisPerson) = "London" then
set state of address 1 of ThisPerson to ""
end if
end repeat
end tell</pre>

Similar Messages

  • Importing address problem/question

    Hey all, maybe you can help me.
    I'm trying to import addresses from outlook to my mac/address book. I put all the addresses in to a csv file and when I go to import, nothing really happens. What am I doing wrong?
    Thanks.

    Is Outlook using Commas or Tabs for exporting?
    Maybe try Address Book Importer...
    http://homepage.mac.com/sroy/addressbookimporter

  • How Do I Make Import Address Book Archive Work Properly?

    I have several address books archived. I have one for Christmas cards, I have another for my neighborhood watch program and others that I use at various times. Some of the archives were made using Tiger and some I have created in Leopard. When I Export an Address Book Archive it does so without a problem. When I Import one of my Address Book Archives, to replace whatever address book is currently located in Address Book, the import does not work. Once I try to import, I must quit Address Book then reopen it and I still have the Address Book resident that I was trying to replace. The only way I have found to replace the resident address book is to first archive the current book for the sake of having it backed up, then delete all the names in the book by selecting all then deleting by hitting the delete key or by selecting Delete Cards using the Menu. After the names are deleted, then Importing an archive works fine.
    Is anyone else having this problem or possibly have a solution to making Address Book work properly without having to delete all the current names before Importing an archive?
    Information: I have deleted the Address Book Folder located within the Home/Library/Application Support folders and rebuilt it under Leopard OS and then pasted the names that were resident before deleting the folders. So far, I still cannot get the Import Address Book Archive function to work properly. Thanks in advance for any helpful information or hints.

    Ok! Hmm... I indeed have tried to import an archive, did get the message, replaced all and had it working fine for me so it should for you I would think.
    Have you tried to log in your computer as a different user, launch AB and try to toggle back and forth between archives to see if you experience the same issue? If not, then it is a user specific issue, if yes, then it may be more a case of app/system issue.
    If you are able to overwrite in AB under a different user, then I would suggest you log in back to your main user and repair permissions (applications/utilities/disk utility repair permissions.
    As for your use of AB and different archives, I am sure no one is bothered by that. We are all users here trying to learn and/or help others. I would only point out that if you cannot find a solution to your problem, you may want to consider working with AB in a different manner than you have in the past and by your description of usage groups and smart groups will more than handle your contacts while avoiding mixing apples and doughnuts - but I am sure you have thought of that already !!
    hope this helps

  • Importing Address Book from XP

    I cannot figure this out, and it is really frustraing. I am a new convert from XP to MAC. The problem is my address book in MS Outlook 2000 will not import into my MAC address book, why not? I save as a CSV file when exporting in Outlook, but MAC does not recognize the file for some reason. The weird thing is, that I can export from my Gmail address book into the MAC using the same procedure, but it does not imput all the information such as home address, fax, mobile phone etc. What is going on here? I know I am new to MACs, but I cannot understand what I have overlooked, if anything at all. I am now using my address book as an Excel file on my desktop, and that is not good enough.
    If anyone can show some mercy and help out the newbies, that would be great.
    Thanks in advance,
    M&C
    iMac G5   Mac OS X (10.4.3)  

    This will not be helpful reply, unfortunately--just an example of a similar problem. I was unable to import addresses from a CSV text file. I could open the file and edit in in MS Word and Excel, and Address Book could see and read the file--I used the 'import' function of Address Book and rearranged some of the field mapping, and could click through all the various cards. But, when I clicked the 'Okay' button in the corner of the import window, nothing happened except that the button turned color, from blue to white. No information was imported, no indication appeared that the computer was working on importing anything. Following advice from this forum, I downloaded the address book importer, and that worked fine. But Apple's own import function seems to have a big problem. I just upgraded to a PowerBook G4 after my old Lombard finally conked out. Very exciting to have a beautiful new machine, but man, little problems like the one w/ Address Book make me miss my old computer.

  • Importing Addresses from Excel.

    Is it possible to import addresses that I have in an excel page, into the Address Book?
    I can´t see any possibility to import the CSV format. Any ideas?
    Thanks,
    Julio

    I do have a working Panther installation and the same version of Address Book as Julio, though I don't use it and know nothing about it. On opening the application and choosing Import from the File menu, I have only two options: "vCards" and "LDIF". I have no idea whether saving an Excel file as a tab- or comma-delimited text file (which is easy) would make it possible to convert the entries in it to vCard or LDIF format using some third-party utility. If so, that intermediate step might enable Address Book to import the data. If not, then I suspect AB 3.1.2 isn't going to be able to import the Excel data.
    There is an "Import Helper" script in my Library/Scripts/Address Book Scripts/Helper Scripts folder, but I know even less about AppleScript than I do about Address Book, and I can't tell from the negligible information provided about that script exactly what its function is, or what problem it's designed to help with. Sorry...

  • To import addresses, need format of tab delimited file

    I am trying to import addresses from my G3 PB Mozilla App. I exported addresses on G3 to both ldif and tab-delimited files and then attached to an email message which I sent to myself. I received email on Mac mini, but the 2 files showed up inline, not as attachments. I copied the ldif portion to a text file; ditto for tab-delimited. I tried importing into Address Book, but got message that format was not valid.
    Can't I just edit the tab-delimited file in TextEdit, save as RTF, and get Address Book to recognize the data?
    Thanks,
    Owen

    Hi, Did you get solution for this? Please let me know as I'm looking for the same solution. The Bank requirement is to generate a Tab delimited file but the RFFOGB_T with Format GB_BACS issues the output as below...
    Required by Bank:
    692532 73855963 RRS P R BACKLEY         169.91 GSLV
    294518 99855581 CETS PRITECTIIN         799.72 GSLV
    The output I get from SAP/DMEE:
    ........1........2........3........4........5........6....
    VOL1000004                           ....953312
                  1 <CR/LF>
    HDR1A953312S  195331200000400010001       10040 100420000000
                    <CR/LF>
    HDR2F0200000100                                   00
                    <CR/LF>
    UHL1 10041999999    000000001 DAILY  000
                    <CR/LF>
    6010392865540009960062063474662    00000115000ABC UK Ltd.       0
    1465                                <CR/LF>
    6006206347466201760062063474662    00000115000SAPBACS0000003306 C
    ONTRA            ABC UK LTD.        <CR/LF>
    EOF1A953312S  195331200000400010001       10040 100420000000
                    <CR/LF>
    EOF2F0200000100                                   00
                    <CR/LF>
    UTL10000000115000000000011500000000010000001
                    <CR/LF>
    END
                    <CR/LF>
    <END>
    Rgds,
    Stan

  • How can I import addresses from one of my address book accounts into webmail at my internet service so that another individual who uses Firefox as their browser can send out emails using those addresses?

    I was able to export addresses to webmail @ sonic.net (csv format via previous gmail user) and read them fine using my normal browser, Safari. However, when trying to use the imported addresses via Firefox, the addresses had a symbol inbetween each letter of the email address and thus could not be used.

    Sorry I put this in the wrong forum. I shall post again to Leopard/mail etc.

  • Groups and Importing Addresses

    I would really like to meet, in person, the perverse people who write Apple's Help files.
    I went to Help to figure out how to create address groups. Help told me I could, indeed, do this: Open Address Book and then go to Address Book Help. Of course, there is no such Help.
    Then, wanting to import addresses from Entourage, I was told to go to File and Import Addresses. Of course, no such category exists in the File menu.
    I can set up addresses one by one as I need them, but how can I set up groups?
    Thanks.

    Sounds like you may need to visit Troubleshooting Help Viewer.
    My Address Book Help viewer is working properly which the following was copied from.
    In Address Book, choose View > "Card and Columns."
    Choose File > New Group and enter a name for the new group in the Group column. You can also click the Add button at the bottom of the Group column.
    To add a person to the group, drag the person's name from the Name column to the group name.
    To remove a person, select the person's name and choose Edit > Remove From Group. You can choose to remove the person from the group or remove the person from Address Book.
    You can also create a group by selecting multiple contacts, then choosing File > New Group From Selection. You can include one group in another group address by dragging the group to the other group name.
    Then, wanting to import addresses from Entourage, I was told
    to go to File and Import Addresses. Of course, no such category
    exists in the File menu.
    A category that exists is import vCards not from a list of applications. You must export your Entourage address book contacts as vCards (you can do so by selecting all and the click and drag all highlighted contacts to a created folder on the Desktop and then use the Address Book import vCards feature or drag all highlighted contacts direct to the Address Book "All" Group.

  • I am having problems importing some CDs into iTunes on a laptop with Windows 8. Most CDs import without problem. The ones I can't import can be imported into iTunes with Windows 7. Does anybody know why this problem is occurring?

    I am having problems importing some CDs into iTunes on a laptop with Windows 8. Most CDs import without problem. The ones I can't import can be imported into iTunes with Windows 7. Does anybody know why this problem is occurring?

    First-off, this seems to be a general problem with 10.4 (across all the operating systems of which I am aware).  Unfortunately, I cannot provide a permanent solution but, if you need a quick fix, this will (hopefully) work for you.
    For some inexplicable reason, iTunes no longer recognises standard Windows paths.  For example:
    Y:\Music\Buddy Holly\Buddy Holly - Rave On.mp3
    The end result is that it will import a playlist with no content. 
    It will, however, recognise the equivalent Apple paths which look like this:
    file://localhost/Y:/Buddy Holly/Buddy Holly - Rave On.mp3
    It is possible to convert your existing playlists using a few basic replace commands in something like Notepad.  In my case, I made some code changes in my music manager and now generate two sets of playslists (one standard and one to accommodate iTunes).
    Forgive me foir stating the obvious but please remember to make sure that the disk / path containing your music is accessible when doing the import otherwise you will probably get a blank result.  Note that you can do a bulk import by selecting all the (revised) playlists and dragging them onto the iTunes sidebar.
    I am sorry that this is not a "clean" solution but it will work if you are in a bind.  The only alternative of which I am aware is to wait for Apple to fix the problem.

  • Imported Address Book not linking - when typing, results are red

    OS - Windows Vista
    Thunderbird Version 24.6.6
    Issue: Address book was imported into Mozilla from Windows Live Mail 2006. When trying to send an email, even though the contacts are listed in the address book, when typing them out in a new email, they are still flashing up in red.
    Troubleshooting performed: Composed new mail, typed out email manually - this added to address book. There were four copies of the address book listed, deleted the duplicates and migrated the addresses from the imported book to Personal Address Book. Still not working. Opened Address book and selected contact, attempted to compose mail to selected contact, failed. Checked Address Book entries - found that the entries didn't import properly into the following fields:
    First, Last, Email - rather they got imported as Display Name, Nickname (with nickname being the email address)
    Solution: Went into each contact, and modified them by moving the 'nickname' (which contained the email address) to the 'email address' field. Now able to send emails through to the contact.
    Questions:
    1) When importing the Address from Windows Live Mail - how can we stop it from importing/mapping the email address field into the nickname field?
    2) Is there a faster way to update all the contacts to copy across from Nickname field to the Email field?
    Thanks,
    Angela

    If you import via CSV fie, you should be shown a dialog that asks you to re-sort address book fields so the fields in the imported address book correspond with those in Thunderbird's Address Book.
    Did this not happen?
    See "From somewhere else to Thunderbird:" here:
    http://www.ramsden.org.uk/11_Thunderbird_Settings_and_the_Profile.html
    I don't know of any easy way to work directly with the address book file itself; it's not organized in a user-friendly manner internally. These matters are usually best addressed either before importing (i.e. tweak the CSV file in a spreadsheet program) or via the import dialog.
    Alternative formats such as vcf or vCard may avoid the need to massage the data, but IMHO are less suited to managing address books. If you can use these formats, this add-on can be useful:
    https://nic-nac-project.org/~kaosmos/morecols-en.html

  • Can I import address book info from mac 10.5 to 10.7

    Can I import address book info from Mac 10.5 to 10.7?   It tells me "You can't use this version of the application Address Book with this version of Mac OS X.  You have Address Book 4.0.6."

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico my first language is Spanish. I do not speak English, however I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    Try moving just the folder at Mac HD/users/~/Library/Application Support/Address Book from 10.5 to the same location in 10.7.
    Or in Address Book on the old Mac go to the File menu and choose Export Contacts Archive, copy that file to the new Mac and in Address Book on the new Mac go to File menu Import, browse to the archive file on the new Mac and choose it.

  • How do I import addresses from Address Book Ver 4.1.2 to the Lion Address Book version 7.0? Mountain Lion will not allow me to open Address book Version 4.1.2

    How do I import addresses from Address Book Ver 4.1.2 to the Lion Address Book version 7.0? Mountain Lion will not allow me to open Address book Version 4.1.2

    Do you have any addresses in the Lion version?
    If not, copy the AddressBook folder from your username/Library/Application Support/ folder on the old mac (or backup).
    Copy it to the same location on your new Mac, replacing the one that is there. Start Address Book in Mountain Lion and it should convert the files to the correct format.
    If you do have addresses, it is a little more complicated.
    First, create a Contacts Archive (from File>Export menu). This will be your backup.
    Next, export the current contacts as vCards.
    Then, follow the steps above.
    Then, import all the cards you exported. If you select all and double-click, it will ask if you want to add them. You'll then have to add them to whatever groups you had set up.

  • How do I import addresses from Address Book Ver 4.1.2 to the Lion Address Book version 6.1? Lion will not allow me to open Address book Version 4.1.2

    How do I import addresses from Address Book Ver 4.1.2 to the Lion Address Book version 6.1? Lion will not allow me to open Address book Version 4.1.2 to get to the addresses to copy

    Do you have any addresses in the Lion version?
    If not, copy the AddressBook folder from your username/Library/Application Support/ folder on the old mac (or backup).
    Copy it to the same location on your new Mac, replacing the one that is there. Start Address Book in Mountain Lion and it should convert the files to the correct format.
    If you do have addresses, it is a little more complicated.
    First, create a Contacts Archive (from File>Export menu). This will be your backup.
    Next, export the current contacts as vCards.
    Then, follow the steps above.
    Then, import all the cards you exported. If you select all and double-click, it will ask if you want to add them. You'll then have to add them to whatever groups you had set up.

  • Importing tga problem

    I have several targa image sequences from a client. FCP (6.0.5) will import some but not others. The only difference I can find is that under "kind" in the get info window some are "tga image" and the others are "adobe photoshop targa file". The latter imports no problem, while the former give an error: "File Error 1 file(s) recognized, 0 access denied, 1 unknown."
    Anyone know what I'm doing wrong or have run into this issue?
    FWIW, I checked the fils in photoshop and they all have the same modes. They also all have the same file sequence naming structure.
    Thanks in advance for any help.

    Actually forgot to explain that the error I mentioned above occurs when I try to import just 1 of the targa files individually. If I try to import a sequence the number of errors changes to match the number of targas in the sequence. Sorry about the miscommunication. For the record, there are no other files inside the sequence folder(s) - just the targas.
    Still haven't figured this out yet. Shake, Nuke, After Effects, Photoshop all open/import the files, but FCP will not.

  • Import address into imac

    how to import addresses from gmail into the address book of imac?

    In your Contact list in Gmail select the contacts you want to import and then from the 'More' menu select Export and choose vCard format - save the file. In Address Book on the Mac go to File>Import, locate the file you exported from Gmail and they should import into Address Book.

Maybe you are looking for