Is there a way to change the current labels in Contacts.app to custom ones using AppleScript based on a specific criteria?
Here is what I mean:
I need the script to go through my contacts to change the phone numbers default labels such as mobile, home, work, etc. to specific labels based on the first 3 digits of the phone number. If the label has been changed already or the criteria does not apply, then the script should skip that phone #.
Here is an example:
- If the phone # starts with 079, then change the label to "zain"
- If the phone # starts with 078, then change the label to "umniah"
Is this even possible?