I can change the phone label of a person in the Contacts app with a line like this:
set label of phone of person 1 to "iPhone"
I can see see in the Result and Variables Tab in Script Debugger that it has been successful changed. Then if I quit the Contacts app, and open it again, the label will revert back to the old label name.
Does anybody else have the same problem?
If I change the phone label directly in the Contacts app, the change persists. If I change it with AppleScript, it does not persist after quitting the Contacts app.
I have a few thousand contacts whose phone labels were changed to a foreign language a few years ago through some app I downloaded on the iPhone, so I would like to change them back to the default labels like “mobile”, or “iPhone”.