Created
March 12, 2010 10:14
-
-
Save datenimperator/330204 to your computer and use it in GitHub Desktop.
This file contains 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 "Address Book" | |
set mylist to selection | |
repeat with this_person in mylist | |
set new_note to "" | |
set tmp to (get note of this_person) | |
set the_paragraphs to the paragraphs of tmp | |
repeat with the_paragraph in the_paragraphs | |
if the_paragraph does not contain "CLASS:" and the_paragraph does not contain "xing" then | |
set new_note to new_note & the_paragraph | |
end if | |
end repeat | |
set note of this_person to new_note | |
end repeat | |
save | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment