In the Contacts app in OS X Yosemite it is currently impossible to import custom field labels when importing from a CSV file. I use a 3rd party app to manage my contacts and I would like to import the custom labels that I use for postal addresses, phone numbers and email addresses for my contacts.
If I create a field that merges the custom label with field data, and a separator character in between, would it be possible to use an AppleScript to extract the custom label, remove the separator character, and rename the field with the custom label?
For example, I currently have a custom label for a phone field:
Field Custom Label: Dad Mobile
Field Value: 123 456 7890
Merged Field: Dad Mobile;123 456 7890
When importing the file into Contacts via CSV I would map it to "phone other". So the phone field for the contact would look like this when imported:
other: Dad Mobile;123 456 7890
Again, the script would extract the custom label, remove the separator character and rename the field with the custom label, resulting in:
Dad Mobile: 123 456 7890
I am somewhat new to scripting.