How do I bulk edit contact's nicknames to first and last names?

i imported contacts to the contacts app and they all say "NoName".
i click on one of them and the first and last name fields are empty but the nickname field has the first and last name in it.
how can i bulk edit 1120 contacts to change the full nickname to a first and last name?
ex: "First"  ~  "Last"  ~  "Nickname"
       "Blank"  ~  "Blank"  ~  "John Smith"
i want to to be:
       "John"  ~  "Smith"
help me create an applescript or use a program or something cuz its killing me....thanks
ohh and i used both of the following applescripts and nothing happened:
tell application "Address Book"
   set all_Persons to every person in group "Test"
   repeat with per_son in all_Persons
       set nknm to per_son's nickname
       set per_son's first name to word 1 of nknm
       set per_son's last name to word -1 of nknm
   end repeat
end tell
ANDDDDDD
tell application "Address Book"
   set {ASTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, space}
   repeat with onePerson in (get people whose nickname is not missing value)
       set N to text items of (get nickname of onePerson)
       tell contents of onePerson
           set first name to text items 1 thru -2 of N as text
           set last name to text item -1 of N as text
       end tell
   end repeat
   set AppleScript's text item delimiters to ASTID
end tell
neither did anything...

to any1 that wants to use the scripts and have them work just type "save" on the next like after end tell and itll do it........

Similar Messages

  • Searching contacts only works once first and last name entered

    Evening.
    I'm experiencing a frustration in as much as if I'm searching for a name i.e Adam Smith, it isn't until I enter the S that the search starts to register. It seems you have to enter 5 characters or more before the search begins.
    Secondly, I've added a mobile number into an existing contacts stored details. I'd have expected the call log to show the contact name and number now as oppose to just unknown. This is what used to happen on my Bold. But it doesn't. The numbers been added as a 2nd mobile number rather than main number but thought with such an advanced machine it would register.

    when I type in A it starts to get me results and narrows them down as i type more in Universal search and in contacts app too
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • After installing some updates on final cut pro 7 is asking me to enter my first and last names plus serial number which i dont have. how do i go about this?

    After intalling some updates for Final cut, I m asked to put my first and last names and serial number which unfortunatelt i do not have. how do i go about this?

    To add to what BenB advised, make sure you have proof of purchase when you call Apple for a replacement serial number.
    For future reference, it is a good idea to keep all software serial numbers in a database or text document.  Considering the cost of the software, keeping a list of serial numbers can come in very handy at times like this.
    -DH

  • How to show the First and Last name of the user instead of user name

    Gurus,
    We have the full email id of the user as the portal user name. Right now we are using the "Item Attributes - Current User" to show the user name. We don't want to show this anymore. We would like to show the First and Last name of the user on the Portal page. How can i do this. Please post a reply if you have some idea about it.
    Thanks
    Raj
    ---------

    I believe this is possible using the security APIs. See http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML and look for person_info (Returns user information, given a user name)
    under wwsec_api
    Suggest posting any follow-up questions to the Security forum - http://forums.oracle.com/forums/forum.jsp?forum=6

  • HT202058 iphone 6+ somehow has switched my name on emails into my nephew's name. We share a first and last name but not a middle name. For example, my name might be John George Doe and his name John James Doe. How did this happen? How do I correct it.

    iphone 6+ somehow has switched my name on emails into my nephew's name. We share a first and last name but not a middle name. For example, my name might be John George Doe and his name John James Doe. How did this happen? How do I correct it.

    So if the solution recommended by Ralph is not working then the other option is this:
    Please make sure that the emails work correctly when signed into, on a computer
    Then delete the account off your phone - you will not lose the emails
    Reset the phone
    Re add the account back in and see if that helps the issue
    Thanks

  • How can i change the ID on my wifi so it doesn't include my first and last name?

    How can I change the ID on my Wifi so it doesn't include my first and last name when others see it?

    If you are still having difficulty
    Open Macintosh HD > Applications > Utilities
    Locate the listing for AirPort Utility and Right Click on it
    Click Get Info
    Look for the Version in the next window that should appear on the left side of your screen.

  • How to split 'Full Name' into two columns for 'First' and 'Last' name??

    Any ideas on how to achieve this? http://office.microsoft.com/en-us/excel-help/split-names-by-using-convert-text-t o-columns-HA001149851.aspx

    If:
    A1 = Fistname Lastname
    For firstname:
    (First Name) B1 =SUBSTITUTE($A1," " & $C1, "")
    For the Last name:
    (Last Name) C1 =RIGHT(A1,LEN(A1)-FIND("#",SUBSTITUTE(A1," ","#",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
    If
    A1 = Lastname, Firstname
    (Last Name) B1 =SUBSTITUTE($A1,", " & $C1, "")
    (First Name) C1 =RIGHT($A1,LEN($A1)-FIND("#",SUBSTITUTE($A1," ","#",LEN($A1)-LEN(SUBSTITUTE($A1," ","")))))
    Let me know if you need one that traps multiple commas or middle names.

  • When viewing a text conversation, how can I see the person's first AND last names?

    When I view my text "inbox", they are listed according to how I have each contact entered...for example John Smith. When I look within the text conversation with that person, at the top it only says "John". This is very frustrating. (I only recently upgraded to iOS 7 and have a feeling this is one of many things I'm going to resent.) Can't I express a preference for the full name to appear?

    Settings App > Mail,Contacts,Calendars > [scroll down to CONTACTS] > Short Name [turn off, or select another display option)]

  • Outlook contacts sync puts some 1st AND last names in iPhone 1st name

    After I initially synched all my Outlook contacts onto my new iPhone, some of the names show up on the iPhone as "lastname firstname" (which is what I want), but some show up as "firstname lastname". The problem with this is that they don't sort correctly. I've looked into the Outlook contact, and, in both cases, they have the correct firstname and lastname fields. In the iPhone contact, the entire name (firstname lastname) is in the iPhone firstname field and the lastname field is blank. I can find no other difference between the correctly synched contact and the incorrectly synched contact.
    Any suggestions??

    The sync messed up somehow. Sync does that sometimes.
    If you plug in the phone, but don't sync it yet, I believe there is an option somewhere (labeled Advanced) to overwrite the information on the phone with information from your computer. You might try that, for contacts. Explore all the iPhone panels in iTunes.
    Alternatively, delete all your contacts on the phone and re-sync.
    Caveat: I'm no sync expert and don't use windows.

  • How can I display the first and last name using a paramater as employee ID?

    Hi SAP,
    I have a parameter that is called {? Employee ID}.   What I want to do is display the first and last name based on the employee ID value entered in {? Employee ID} in the page header of the report.  Right now, when I put the following formula in the page header only some pages get the right result while other pages dont....
    if table.employeeid = {? Employee ID} then
    table.firstname" "table.lastname
    It appears as though if the first record in the details section on the beginning of each page happens to be the employee under {? Employee ID} then it prints it correctly, if it isn't I get a null value in the page header.
    Anyone have any ideas?
    Z

    Hi Try this,
    Whileprintingrecords;
    if ={?EmpID} then
    Also check the option "Default values for null" in the formula editor.
    Regards,
    Vinay

  • There's no phonetic first or last name option in add field in contact's.

    Hi, trying to get siri to pronounce a name right so I saw you could just spell it phonetically and it will pronounce it that way, and when I pressed on a contact, and went to add field, there was no option to do it? help!

    this looks sort of normal except both first and last name fields are empty and only FN (full name is present). It should look something like this:
    BEGIN:VCARD
    VERSION:3.0
    N:Smith;John;;;
    FN:All American Grill
    ORG:All American Grill;
    TEL;type=WORK;type=pref:(918) 207-0467
    item1.ADR;type=HOME;type=pref:;;13112 Highway 62;TAHLEQUAH;OK;74464;
    item1.X-ABLabel:bill to
    item1.X-ABADR:us
    X-ABShowAs:COMPANY
    CATEGORIES:Customers:Integrity Service's of Oklahoma
    X-ABUID:40A7F0F6-EBB7-40F5-A990-B54B98771F50\:ABPerson
    END:VCARD
    If you save this vcard in TextEdit and drag it back to the address book it will import and look normal. However, this is, of course not a real solution if you have lots of entries like that. you might try tinkering with the original text file from which you imported the cards and add more fields there.

  • How to split 'Firstname Lastname' into 2 columns 'First' and 'Last'?

    I import a .csv file from PayPal that throws the customer's First name, MI and Last Name all in one column. I have no problem going through and deleting the middle initial to make just two words separated with a space.
    How can I split the First and Last names that are separated by a space into two separate columns? It's a piece of cake in Excel, but for some stupid reason, I can't use Excel 08 for Mac to do it. Keeps saying that there is data in column #XX without a heading (there is no data there) when I try to import to PayPal Multi-order shipping.
    Please help! I'm desperate. Taking me for ever to cut and past each last name into the new column.
    Thanks for any help with this!
    Marcus

    Here is a script which does the trick.
    --[SCRIPT splitfirst_lastname]
    Enregistrer le script en tant que Script ou Application : splitfirst_lastname.xxx
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    Sélectionner la colonne de chaînes à découper (et éventuellement davantage pour définir la colonne recevant les noms propres).
    Aller au menu Scripts , choisir Numbers puis choisir splitfirst_lastname
    Le script découpe les chaînes sources au premier espace.
    Le prénom remplace la chaîne initiale.
    Le reste est déposé dans la cellule adjacente à droite ou dans la cellule de la denière colonne sélectionnée.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    Sous 10.6.x,
    aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
    puis cocher la case "Afficher le menu des scripts dans la barre des menus".
    --=====
    Save the script as a Script or an Application : splitfirst_lastname.xxx
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Select a column of strings to split (and maybe more columns to define the column receiving lastNames).
    Go to the Scripts Menu, choose Numbers, then choose "splitfirst_lastname"
    The script split the source strings on the first embedded space.
    The FirstName replace the original string.
    The reminder is stored in the cell adjacent on the right (or in the last column of the selected range.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/02/23
    --=====
    on run
    run script doyourduty
    end run
    --=====
    script doyourduty
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    if colNum2 = colNum1 then set colNum2 to colNum1 + 1
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    repeat with r from rowNum1 to rowNum2
    tell row r
    set first_last to value of cell colNum1
    if (first_last is not 0.0) and first_last contains space then
    set in_pieces to my decoupe(first_last, space)
    set value of cell colNum1 to item 1 of in_pieces
    set value of cell colNum2 to my recolle(items 2 thru -1 of in_pieces, space)
    end if
    end tell -- row
    end repeat
    end tell -- Numbers
    end script
    --=====
    set {rowNum1, colNum1, rowNum2, colNum2} to my getCellsAddresses(dname,s_name,t_name,arange)
    on getCellsAddresses(d_Name, s_Name, t_Name, r_Name)
    local two_Names, row_Num1, col_Num1, row_Num2, col_Num2
    tell application "Numbers"
    set d_Name to name of document d_Name (* useful if we passed a number *)
    tell document d_Name
    set s_Name to name of sheet s_Name (* useful if we passed a number *)
    tell sheet s_Name
    set t_Name to name of table t_Name (* useful if we passed a number *)
    end tell -- sheet
    end tell -- document
    end tell -- Numbers
    if r_Name contains ":" then
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(d_Name, s_Name, t_Name, item 1 of two_Names)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(d_Name, s_Name, t_Name, item 2 of two_Names)
    end if
    else
    set {row_Num1, col_Num1} to my decipher(d_Name, s_Name, t_Name, r_Name)
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    end if -- r_Name contains…
    return {row_Num1, col_Num1, row_Num2, col_Num2}
    end getCellsAddresses
    --=====
    set { dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    return {d_Name, s_Name, t_Name, r_Name} & my getCellsAddresses(d_Name, s_Name, t_Name, r_Name)
    end getSelParams
    --=====
    set {rowNumber, columnNumber} to my decipher(docName,sheetName,tableName,cellRef)
    apply to named row or named column !
    on decipher(d, s, t, n)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to ¬
    return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    on decoupe(t, d)
    local oTIDs, l
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to oTIDs
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local oTIDs, t
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to oTIDs
    return t
    end recolle
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mercredi 23 février 2011 10:18:36

  • How can I bulk delete contacts from my iPhone 4S? I've imported contacts from gmail and hotmail, many of which I don't need. Deleting them individually will take ages, there must be a quicker way. Also, are my contacts taking up space on my iPhone or

    How can I bulk delete contacts from my iPhone 4S? I've imported them from gmail and hotmail and there are many more than I need. Deleting them one by one will take ages, there must be a quicker way! Also, do contacts take up space on the phone or are they stored remotely?
    Thanks.. J

    You should be syncing your contacts with an app on your computer or cloud service (iCloud, Gmail, Yahoo, etc), and not relying on a backup.  If you haven't been doing this, start now and then restore your old backup.  You will then be able to sync the new contacts back into the phone.  However, you will lose all messages, etc newer thant the backup.

  • I'm trying to find out how to export my apple contacts to the Salesforce software and they need to be in a csv format and I don't know if this is possible and how to do it if it is?

    I'm trying to find out how to export my apple contacts to the Salesforce software and they need to be in a csv format and I don't know if this is possible and how to do it if it is?

    I think there are third-party programs which will do that, but you can also do it with Automator:
    See the links in my post, here: https://discussions.apple.com/message/22390873#22390873
    The file or clipboard contents will be in Tab Separated vars, so you'll have to open with a spreadsheet program and save as Comma Separated Vars format.

  • HT4489 How do I get my Contacts List onto my iCloud and my iPhone?

    How do I get my Contacts List onto my iCloud and my iPhone? My Contacts are on my Mac, but I can't get them synced onto my iPhone or iCloud?

    You're not signed into iCloud then.
    Go to System Preferences>iCloud and sign in, switch on any services you want to use. Your contacts will show up in Contacts and your appointments will be in Calendar. Enter new contacts/events etc in the respective app.
    Backup any content currently in Contacts and Calendars.

Maybe you are looking for

  • Multiple CSV exports from the one button or pl/sql procedure?

    I need to have multiple csv exports from the one press of a button. The easiest way I found to do this is it to use javascript to popup three windows, each as a CSV link. This is a bit ugly though, and leaves the browser popup windows open when the f

  • Is there any way to get the files from other computer ?

    Hai all, I have 2 computers connected. I know the IP address of other computer. Is there any way to get the files from other computer. (for e.g. I want to get the files from specific folder. In Java netwroking is it possible? (Any programs) regards,

  • Can't Install Camera Raw 8.5 w/Photoshop CC on OS X

    I'm trying to install Adobe Photoshop Camera Raw 8.5 for CC on OS X. I open the .dmg file and run the AdobePatchInstaller.app. I get "Update Failed. Updates could not be applied. This patch is not applicable for you..." Hmmm. I am using Photoshop CC

  • Alternative UoM issue

    Hi Gurus material A - Base UoM = LB component B - Base UoM = LB, Alt UoM = PC (conversion 1PC = 10 LB) I am trying to create a BOM (CS01) for material A: with components B. And I'm receiving this error: Unit of measure PC not supported for material B

  • Two printers need to be setup for same output type

    Dear Experts How do we create condition records for two different printers in VV61 with same output type and packing material type? Thanks in advance for your answers. Regards Bala