|
|
A way to review duplicates in Contacts
The poster asked for a way to eliminate the manual copy/paste. This Applescript ought to do it. It can be saved to a file, such as "listgroup.script", and then called from the command line as
tell application "Contacts"
set myNames to name of every person in group "SomeGroup"
set myEmails to value of first email of every person in group "SomeGroup"
set mylist to {}
repeat with m from 1 to count of myNames
set end of mylist to ((item m of myNames & " <" & item m of myEmails & ">") as string)
end repeat
set tid to Applescript's text item delimiters
set Applescript's text item delimiters to ASCII character 10
get mylist as string
set Applescript's text item delimiters to tid
end tell
Edited on Mar 18, '13 11:04:41AM by peterpk
A way to review duplicates in Contacts
Perhaps a droplet would be in order that creates the text file using the dropped contacts... or a script that gets selected contacts and exports the email addresses to a file. I like your scripting solution. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|