Skip to content

Instantly share code, notes, and snippets.

@statonjr
Created April 8, 2013 17:09
Show Gist options
  • Save statonjr/5338511 to your computer and use it in GitHub Desktop.
Save statonjr/5338511 to your computer and use it in GitHub Desktop.
Add a custom date filed to a contact
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