Created
May 10, 2009 05:44
-
-
Save wesmaldonado/109515 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" | |
make new group with properties {name:"No Phone Numbers"} | |
repeat with i from 1 to number of items in people | |
set thePerson to item i of people | |
if properties of phones of (thePerson) is {} then | |
add thePerson to group "No Phone Numbers" | |
end if | |
end repeat | |
save addressbook | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment