Created
April 8, 2013 17:09
-
-
Save statonjr/5338511 to your computer and use it in GitHub Desktop.
Add a custom date filed to a contact
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tell application "Contacts" | |
| set thisContact to item 1 of (get selection) | |
| set creationDate to creation date of thisContact | |
| tell thisContact | |
| make new custom date at end of custom dates with properties {label:"creation date", value:creationDate} | |
| end tell | |
| save thisContact | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment