I've been exporting my contacts from my LG Voyager to my MBP via Bluetooth. The contacts get added to Address Book fine, but I just realized that everyone's names are being stored in Address Book as their last names.
For example, John Smith doesn't have a first name in Address Book. Instead, his last name is listed as John Smith.
Is there some way for me to get Address Book to correct all of these, or do I have to go through every one of my contacts and fix this? Is there a way to get Automator to do this?
EDIT:
I found an AppleScript someone wrote about a year ago, but it's not working for me (though posts in the thread I found it in say that it works for others):
For example, John Smith doesn't have a first name in Address Book. Instead, his last name is listed as John Smith.
Is there some way for me to get Address Book to correct all of these, or do I have to go through every one of my contacts and fix this? Is there a way to get Automator to do this?
EDIT:
I found an AppleScript someone wrote about a year ago, but it's not working for me (though posts in the thread I found it in say that it works for others):
set mailgroup to "Sample Group"
tell application "Address Book"
set num to count of people in group mailgroup
repeat with n from 1 to num
set acontact to person n of group mailgroup
set firstname to first name of person n of group mailgroup
set lastname to last name of person n of group mailgroup
try
set x to length of lastname
on error
set y to offset of " " in firstname
if y > 0 then
set lastname to text (y + 1) thru -1 of firstname
set firstname to text 1 thru (y - 1) of firstname
set first name of person n of group mailgroup to firstname
set last name of person n of group mailgroup to lastname
end if
end try
end repeat
end tell