Created
August 6, 2020 18:57
-
-
Save ashkrosh/387dae5fac41639d9a1558cfda0a8a70 to your computer and use it in GitHub Desktop.
Update all email labels in macos contacts to a custom label
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
-- Pipedrive smart data collection only works on emails labeled as "Work" so I changed all labels to Work. | |
tell application "Contacts" | |
activate | |
set (label of emails of people whose label is not "Work") to "Work" | |
save | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment