Is there a way to create address labels using data from a Numbers document?

I'd like to print mailing labels for holiday cards and my wife created the list in a Numbers spreadsheet.
Is there any way to export to Pages or some other label printing application?
Thanks.

Righty-ho. This is based on a spreadsheet like this with named columns in Numbers 3.5. (The rows must be consecutive - the script moves on as soon as it sees an empty row):
With the spreadsheet open, run the following AppleScript. It will create a group called Christmas List in Contacts, and then import the name and address data from the spreadsheet, adding each person to the group:
tell application "Numbers" to tell front document to tell active sheet to tell table 1
  set all_contacts to {}
  set row_count to count rows
  repeat with each_row from 2 to row_count
  set nu_contact to {}
  set first_name to value of cell each_row of column "First"
  if first_name is missing value then exit repeat
  copy first_name to end of nu_contact
  copy (value of cell each_row of column "Last") to end of nu_contact
  copy (value of cell each_row of column "Address1") to end of nu_contact
  copy (value of cell each_row of column "Address2") to end of nu_contact
  copy nu_contact to end of all_contacts
  end repeat
end tell
tell application "Contacts"
  set group_exists to (every group whose name is "Christmas List")
  if the result is {} then
  make new group at end of groups
  set name of the result to "Christmas List"
  save
  end if
  repeat with each_contact in all_contacts
  activate
  set nu_person to (make new person with properties {first name:item 1 of each_contact, last name:item 2 of each_contact})
  save
  make new address at end of addresses of nu_person with properties {street:item 3 of each_contact, city:item 4 of each_contact}
  save
  add nu_person to group "Christmas List"
  save
  end repeat
end tell
Contacts will look like this:
With the Christmas List group selected in Contacts, go to the Print menu and choose the label format you want:
Once the labels are printed, select all the names in the Christmas List Group and press the delete key:
Click the middle "Delete" button and the contacts will be gone.You can then delete the Christmas List group itself.
This can also be done in Numbers 09, but the script would have to be modified slightly.
Hope it helps,
H

Similar Messages

  • Is there a way to make address labels using iWork?

    Is there a way to make address labels using iWork?

    I think address Book will print primitive ones directly if you have addresses entered. Print to the equivalent Avery label size and it does it all.

  • HT3529 Is there a way to create, store and use preset messages for use with "Messages"?

    Is there a way to create, store and use preset messages for use with "Messages". I often have a recurrinig message to send, after a repeating event, and need to enter the same short message each time. It would be nice to have this short message stored and selectable so that I do not need to enter each time.

    found an answer that seems to work:
    https://discussions.apple.com/message/17997300#17997300

  • Is there a way to create a "Horizontal Links List" from a query?

    Hi,
    Is there a way to create a "Horizontal Links List" from a query?
    I want to display file names that I have uploaded as links to a display page.
    I don't know how to create my own template yet as I've read... I saw Jes had posted this idea...
    Thanks, Bill

    Yes, that is great Chris!
    Thanks for the site....
    Once I dynamically create the HTML for the list how do I feed it into the page?
    as an item? Can I access an HTML region body dynamically?
    Thanks, Bill

  • HT4889 Is there a way to abort a transfer of data from an old MacBook Pro to a new one when you're using Wi-Fi?

    Is there a way to abort a transfer of data from an old MacBook to a new MacBook Pro when you're using Wi-Fi?

    If you are sure you want to to do it: command + option + esc, then and Force Quit.
    ethernet is much faster than wifi.

  • Is there a way to create scripts to use tmconfig...

    Is there a way to create a script to execute tmconfig and change CLOPTS parameters
    for a particular server?
    Here is what I would like to accomplish. Want to set "-r" option to a limited
    number of servers, on an as needed basis. I do not want to bring down the environment
    and update the ubbconfig file. The support people are not familiar with tmconfig.
    So, I would like to create a script to turn the "-r" option on when needed and
    restart only those servers and then turn it off once the debufgging is done.
    Is there any command other than tmconfig, which I could use to accomplish this?
    James

    If you've got perl on your machine, you can download the tuxedo perl module and
    write perl scripts to call tuxedo services. There's also a tuxedo::admin module
    at cpan now.
    "james mathew" <[email protected]> wrote:
    >
    I am sorry Roopesh. ud worked with the command 'ud32 with -Ctpsysadm
    -Utpsysadm
    first time when I tried, I used our tuxedo admin id instead of 'tpsysadm'.
    When
    tried with 'tpsysadm' it worked.
    Thanks a lot.
    James
    "james mathew" <[email protected]> wrote:
    I tried the options, but didn't help. By the way, I cannot find anydescription
    on "-C" option in the reference guide.
    I tried to use a client program, similar to ud, which is developed locally
    to
    test the services.
    When I send request to '.TMIB' service, the client never gets any reply
    back.
    The input userd is
    service_name .TMIB
    TA_OPERATION GET
    TA_CLASS T_SERVER
    In the ULOG, I see the following error messages.
    120543.DEV_DB_SRV2!BBL.543.606.0: LIBTMIB_CAT:133: ERROR: Fielded buffer
    access
    error 2
    120543.DEV_DB_SRV2!BBL.543.606.0: LIBTUX_CAT:6031: ERROR: Unable topre-process
    buffer before tranmission. Error code(12/3474)
    120543.DEV_DB_SRV2!BBL.543.606.0: LIBTUX_CAT:1286: ERROR: tpreturn could
    not send
    reply TPESYSTEM - internal system error
    I have FIELDTBLS include 'tpadm' and FLDTBLDIR include '%TUXDIR%\udataobj'
    What is causing the above errors.
    "roopesh" <[email protected]> wrote:
    run ud32 with -Ctpsysadm -Utpsysadm .
    "james mathew" <[email protected]> wrote:
    Thanks Sccott. Using ud32 is what I should do.
    Now, I have a problem in using ud32 because the environment uses user
    authentication.
    I am not able to use ud32 due to logon failures. I am getting LIBTUX_CAT
    errors
    6311, 6247 and 6234.
    I do not know what value am I supposed to provide for "application
    specific
    authentication
    data". I think the environment variable TPIDATA stands for the samething.
    Any help is appreciated.
    Regards
    james
    Scott Orshan <[email protected]> wrote:
    For scripting, you should use ud32 to call the MIB.
    james mathew wrote:
    Is there a way to create a script to execute tmconfig and change
    CLOPTS
    parameters
    for a particular server?
    Here is what I would like to accomplish. Want to set "-r" option
    to
    a limited
    number of servers, on an as needed basis. I do not want to bring
    down
    the environment
    and update the ubbconfig file. The support people are not familiarwith tmconfig.
    So, I would like to create a script to turn the "-r" option on
    when
    needed and
    restart only those servers and then turn it off once the debufggingis done.
    Is there any command other than tmconfig, which I could use to
    accomplish
    this?
    James

  • Is there any way to create discussion board using JSP

    Hi! i'm doing a project using jsp is there any way to create a simple discussion board like the one here? can anyone who knows pls forward some links that teaches me how to do it step by step. Thanks for your help and have a nice day :)

    From the UK! -- PC Plus, August 2000 Issue:
    How to build a JSP Message Board
    http://www.pcplus.co.uk/media/pcplus/pdf/166/pcplus.166.progworld.java.pdf
    You'll get a nice 2-page pdf file, taken directly from the magazine
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Is there any way to stop my iPhone use data when i hit the data limit so i don't go over the data limit

    is their any way to stop an iphone 4s from using data when i hit the 2gb limit on verizon wireless this way i dont have to pay the fee for extra data
    thank you

    Don't know of any way for it to happen automatically, but you can still use the phone and send/receive sms with cellular data turned off.

  • How can I automatically create calendar events using text from a Pages document?

    Hello,
    I'm looking for a way that I can automatically have calendar events created, by extracting dates and times from a table within a Pages document I have saved on my Mac.
    Currently, I record my working hours/dates on a Pages document in table format, so that I can record and ensure I receive payment for all hours I work.
    After finding out which shifts I have for the week, I insert the day, date, start time and end time (for each shift), into a table within a Pages document.
    I'm wondering if there is any way - such as through Automator, Apple Scripts, etc. - that I can then have the Calendar app automatically create events from that data - including the date, start and end times for each shift?
    Also, if possible, is there a way to set each event to automatically alert me at a chosen time (1 day, 2 days, etc.) beforehand?
    Here is an example of the layout of my document table:
    Date
    Start
    Finish
    Duration
    Saturday, 21 December 2013
    8:00 AM
    5:00 PM
    9:00 hrs
    Sunday, 22 December 2013
    9:00 AM
    6:00 PM
    9:00 hrs
    Monday, 23 December 2013
    12:00 PM
    9:00 PM
    9:00 hrs
    Tuesday, 24 December 2013
    12:00 PM
    6:00 PM
    6:00 hrs
    If anyone can help with this question, that would be greatly appreaciated, as then I could have my calendar automatically create and sync my work shifts across to my iPhone, iPad and Mac.
    Thanks in advance,
    John.

    I totally agree with you.
    Where are the fixes for a long string of bugs, glitches and user issues?
    Looking at the list of new "features" for the next OSX, Maverick (what a dumb name!), all I am seeing is Apple ripping off other peoples' ideas, something it swinges others mercilessly for.
    There is not one thing in Maverick that I don't already have, only more so, with 3rd party add-ons.
    Apple seems bereft of ideas now and I am totally mystified what it is doing with all that money and employees it has accumulated.
    Peter

  • Creating XML file using data from database table

    I have to create an xml file using the data from multiple table. The problem That i am facing is the data is huge it is in millions so I was wondering that is there any efective way of creating such an xml file.
    It would be great if you can suggest some approach to achieve my requirement.
    Thanks,
    -Vinod

    An example from the forum: Re: How to generate xml file from database table
    Edited by: Marco Gralike on Oct 18, 2012 9:41 PM

  • How can I create a chart using data (from formulas) in my header columns?

    Hello,
    I'm wanting to create a chart using formula totals in my header column. When I attempt to click on the chart icon after selecting my header column, the chart button doesn't appear. Any help would be greatly appreciated. Thanks!

    Move your formulas in a non header column.
    In the cell A2 of the table "aux", the formula is :
    =IF(ISBLANK(main :: A2),"",main :: A2)
    then I applied Fill Down.
    Yvan KOENIG (VALLAURIS, France) mardi 2 août 2011 15:07:54
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Is there any way to create a folder on idisk from ipad 2?

    It appears that one can only save a document to an existing folder on idisk, not create a new folder. Anyone know a way? It is cumberson to have to go and start up my computer just to create a folder there.
    thanks,
    Joe

    Someone on the iPad forum recommended GoodReader, which is only $4.99. I am going with that. The ipad forum is quite helpful! http://www.ipadforums.net/
    thanks so much,
    Joe

  • Is there a way to create a email distribution list from my contacts?

    I am converting from PC to apple.  I have many contacts and want to learn how to create distribution lists.  If anyone knows, please help.

    That feature does not exist currently in the Comtacts app on the iPad. There are third party apps that let you do it - Group Email with Attachements (?) is one such app - I think!
    I read where one user actually created a distribution list in the notes app bytry ping the email addresses and leaving a space in between each address and then copied the list from the Notes app and pasted it into the To: field in an email as a workaround. I tried it and it will work - you have to play around with it a little. I can't remember if you leave a space in between the email addresses or separate them with a comma, but I did get it to work.
    Of course now I have this bizarre looking distribution list that pops up when I'm typing an email that I will never use and can't get rid of, but curiosity got the best of me on that one.

  • Is there a way to create an object using Trapcode Form and then use that object as a particle in Trapcode Particular?

    I made some objects in Cinema 4D and I tried to import them into After Effects CC 2014.  I get an error saying 'Cannot find Adobe Premiere Pro Dynamic Link'.  So I tried it in AE CC and that worked.  However, I want to create a form object and then use that as a particle for Trapcode Particular.  Is this even possible?
    Thank you for any help!

    There are also size limitations or rather suggestions for particle size. If I were creating an animated 3D shape using Form or C4D and wanted to use it as a particle I would keep the size of the particle about 1/6 to 1/8 of the comp size. You would create a new comp for your particle, animate it, then nest the particle comp in your main comp, turn off visibility, and then use it as a particle in Particular.

  • Is there a way to create a file upload page for uploading large documents to a ftp site in Muse?

    I am building a site for a printing company and wanted to know if there was a way to build in a ftp file upload page or button?

    No that is not possible with Muse alone. YOu can host it on Business Catalyst and upgrade the hosting plan to at least the webMarketing plan for general uploading. If it requires each user to have their own profile etc, then you will need to use BC webApps

Maybe you are looking for