Can I bulk edit data for contacts in Maverick?

Hello Community - First time poster!  This seems like a common problem, but I can't find any info on the boards.
A company moved and I need to change the phone and address for all of the employees there in my contacts. However, it's a big company and there are hundreds of employees so doing this one-by-one isn't feasible.
Is there a way - perhaps with Automator? Or Apple Script?  To change them all at once?
Also, my contacts are saved on gmail, not on my hard drive but I can import/export them in/out if that solves the problem.
Does anyone have a quick fix for such a simple problem?
Many thanks!
- Grace

Here's what I came up with. Tested a little, so make sure you have a backup.
It will ask you for the new address, then change all the work addresses of the selected contacts.
Open Applescript Editor and create a new Application.
Paste in this script and save it. When you need to change a company address, select all the contacts that need to be changed and run the application.
-- get new address
set newStreet to text returned of (display dialog "Enter new Street Address" default answer "" buttons {"Cancel", "Enter"} default button "Enter")
if newStreet is not "" then
          set newCity to text returned of (display dialog "Enter new City" default answer "" buttons {"Cancel", "Enter"} default button "Enter")
          if newCity is not "" then
                    set newState to text returned of (display dialog "Enter new State" default answer "" buttons {"Cancel", "Enter"} default button "Enter")
                    if newState is not "" then
                              set newZip to text returned of (display dialog "Enter new Zip" default answer "" buttons {"Cancel", "Enter"} default button "Enter")
                              if newZip is not "" then
  -- all values entered, but not validated
                                        tell application "Contacts"
                                                  set thePeople to selection
                                                  repeat with aPerson in thePeople
                                                            set workAddress to {}
                                                            set theAddresses to (the addresses of aPerson)
                                                            repeat with anAddress in theAddresses
  -- if there are multiple work addresses, this will change the last
                                                                      if the label of anAddress is "work" then
                                                                                set workAddress to anAddress
                                                                      end if
                                                            end repeat
                                                            if workAddress is {} then
  -- no work address found, create new
                                                                      set workAddress to make new address at end of addresses of aPerson with properties {label:"work", street:newStreet, city:newCity, state:newState, zip:newZip}
                                                            else
  -- change existing work address
                                                                      set properties of workAddress to {label:"work", street:newStreet, city:newCity, state:newState, zip:newZip}
                                                            end if
                                                  end repeat
                                                  save
                                        end tell
                              end if
                    end if
          end if
end if

Similar Messages

  • How can I get unlimited data for my iPad mini

    HOw can I get unlimited data for my iPad mini

    That is completely up to your cellular carrier.  Contact them and ask.

  • Can I use cellular data for updating ios 7.0.2 to 7.0.4 in iPhone 5

    Can I use cellular data for updating ios 7.0.2 to 7.0.4 in iPhone 5.  I just want to know coz i only have 3G cellular data ....

    No.

  • I can no longer edit information for streaming files in Get Info.

    I can no longer edit information for streaming files in Get Info.

    Similar problem here. My Ical refuses to edit or delete events. Viewing is possible, though sometimes the whole screen turns grey. Adding new events from mail is still possible. The task-pane completely disappeared. My local apple technic-centre messed about with disk utility for a bit and than told me to reinstall leopard. I could of course do that, but it seems to me that reinstalling Leopard just to fix iCal events is a bit invasive.
    I tried also tried removing everything, installing a new copy of iCal from the leopard-cd, software updates, all to no avail.
    At the moment I'm open to all suggestions that do not include a complete leopard reinstall.

  • Where can we get the data for pre calculated reports

    Hi,
    i want to see the data for pre calculated reports (Reporting agent)
    where can we get the data for pre calculated reports
    Thanks & Regards,
    Shaliny. M

    Dear,
    This feature of precalculating reports is to enhance the report performance. You will need to schedule this periodically, so that the report is fetched and cached. This allows faster retrieval of report data. Plz. understand that, this scheduling needs to run after every data load in the corresponding cube, so that, the latest data is cached, else the report data will be obsolete.
    Thanks

  • HT4623 how to recover data for contacts on iPad mini

    how to recover data for contacts on ipad mini?

    You don't give much info to go on. Do you sync your contacts?

  • Can't set due date for to do in iCal

    I'm not sure if I'm blind or not, but i can't seem to set a due date for my to-do events. There's an option to say that there is a due date, but all it does is that it bring the view to the current day and changes the icon to an alert icon.
    Is anyone else facing this problem?
    I'm using iCal Version 3.0.5 (1270).

    qwertyjem,
    Click on "due date" and define your requirements (day/month/year) ...if...you have set the preferences to match your requirements in System Preferences...>International>Formats>Region:/Dates/Times.
    ;~)

  • Can we change pricing date for line item in billing

    Hi Expert,
    Can we change pricing date , while raising inoice for particular line iteam

    Hi,
    We can not change the pricing date for perticular line item at billing document level, the only option is we can enter the required date at the time of invoice creation in VF01 screen.
    If your requirement is copying the same pricing date that is entered at sales order, then do the following.
    Go to T Code:VTFL and choose your DElivery Type and Billing Type, then choose your item category and then change the pricing type as 'D' .
    Regards,
    Pasapula.

  • Can you change street date for a book in review?

    Is it possible to change the street date of your book if the book hasn't been approved yet?
    Our original release date for the book has long come and gone. We went by Apple's stated up to 10 days thing, and it's now over 30. It would be great to adjust the street date so we could at least take preorders. Is this possible?

    Same...there is only one
    Page 42 in the iTP Guide https://itunesconnect.apple.com/docs/UsingiTunesProducerPaidBooks.pdf
    ...covers the topic, but not when the dates are borked.
    You may want to contact Apple about this one...

  • HT203177 Can time machine backup data for newer OS?

    I had upgraded my Macbook to OS X 10.7
    Can I continue to backup data for Time Machine used to backup data for the same Macbook with previous version of OS?

    Yes. Time Machine will continue to backup your system as it should.

  • Can I get more data for free

    A sheet with my bill says I can "get more data for the same price".  Is this true and how do I do it?

    Here is the description of the free data:
    "Need an extra 1 GB of data on your MORE Everything plan this month? Now you can use your points to add 1 GB of Promotional Data to your MORE Everything plan. Once you redeem this offer, the Promotional Data will automatically be added to your account. It will remain valid for at least one full bill cycle. At this time, the offer may only be redeemed one time per account.
    The 1 GB of Promotional data (Promotional Data) can only be redeemed by Verizon Wireless customers on select MORE Everything Plans that include data. Offer may not be substituted, exchanged, sold or redeemed for cash or other goods or services. Must have a valid Verizon Wireless Mobile Telephone Number (MTN). Promotional Data will be added to your existing monthly data allowance. Promotional Data will be shared by all lines on an account. You can see when the Promotional Data expires by going to My Verizon -> My Usage -> Data -> then click Promo Usage for All Lines. If you visit My Verizon immediately after redeeming the Promotional Data, you may have to sign out and sign in again to see the change reflected in your account."

  • How to create a latch that can latch the input data for 50ms?

    Now I have some data come from the sensor. I want to latch this data for 50 ms and then reset it to 0. Does anybody do this before? Thank you

    Now I am using the "two button dialog" to create a dialog box. After the dialog box pop up, I choose "yes" the "two button dialog" will output a "True". My problem is that this "True" disapear too fast. My while loop frequency is only 20Hz. And I want to send this "True" value to somewhere. However the two "button dialog" will clear this "True" after 10ms?. So I always got a "false" value. How to "Freeze" this dialog box output value for at least 50ms? How to create a latch to hold this value?
    Attachments:
    Two_button_Dialog.bmp ‏1132 KB

  • How can i delete keychain data for all users on my Mac Server?

    We have 2 Mac servers on our windows network and user passwords change every 30 days to keep up with security. How can i stop keychain asking for the users old passwords or get it to update with the change of password?

    Hello,
    First you have to create a new folder or 2/3, om My Mac... Mail>Mailbox>New Mailbox...> Loacation>On My Mac.
    Highlight the eMails  & drag to the new box(es), if IMAP Mail will try downlodaing them again.
    If POP & Remove fron Server when downloaded it won't.
    Quit Mail after the move, log into gMail Webmail via a browser & delete what you wish.
    PS. Even though you delete everything in gMail, google keeps copies for themselves & the NSA, just you cannot see them.

  • I can't adjust the date in contacts for September 1978

    Is there a way to "re-activate" the days for September 1978 in Contacts and calendar? On both my IPhone 4 and my iPod Touch 4G the only date available is September the first. Both have the latest updates. This is an ongoing issue

    You do know that was thirty four years ago, before personal computers of any sort were available?

  • I would like to know why I cannot select a payment date for a credit card payment but I can select a payment date for a check payment on line.

    I am trying to find out about on line payment dates.
    When I have made payments via my checking account, I am able to schedule those payments.
    Today I made a credit card payment and was unable to schedule that payment for my due date.
    I was charged today.
    I don't understand why I can pre-schedule an e-check but not a credit card payment.

    Hey,
    I think you will find that you have to have a debit/credit card stored on yur account regardless of whether your have iTunes Credit or want to purchase a free App. I don't know why, I assume its for ID verification or is part of the terms and conditions. I occasionally have to re-verify my credit card info even when just trying to run Update on one of my Apps or like I said downloading a free App.
    If you need further clarification all you can do is contact iTunes Support:
                   https://expresslane.apple.com/ServiceOptionAction.action
    Hope this helps. Andrew

Maybe you are looking for

  • Working on existing document; two forms of page numbers (starts as i,ii,iii and moves to 2,3,4)

    I inherited a facing-pages document with two master pages. They are supposed to have page numbers in them (1,2,3,4 etc) but the first few pages of the document are i,ii,iii etc. and I can't figure out how to change them. Can anyone help?

  • Sales Analisys on Items report in Delivery

    Incorrectly sales analysis report on Items in the context of Delivery Notes, if Delivery has a status - Closed. 1. Add the document u2013 Delivery №1 with item/service type to the system. 2.We want to see the sales analysis report. Sales -> Sales rep

  • Flash Player crashes every time in Firefox

    Hello everybody, hope this is the right section of the forum, if it's not, please move this discussion to an appropriate forum. I'm using Windows 8 x64 since some months (it's release to MSDN since september) and I never had problems with Flash Playe

  • IMac can't running any two fire wire hard disks at the same time . which

    iMac can't running any two fire wire hard disks at the same time . which two hard disks have extra power from power socket . If i just insert one of them .No problem . If connect two Hds at the same time. Leopard cant find it and the Hds seem no prob

  • How to connect to weblogic data source using jndi name?

    I am trying to connect to database using data source look up from weblogic as below: factory = "weblogic.jndi.WLInitialContextFactory" conn = zxJDBC.lookup('ApplicationDB',INITIAL_CONTEXT_FACTORY=factory) this is throwing DatabaseError: however i can