I'm trying to move any person in a specified group to the group "test2" if they have an email address, but can't quite get it...
I must be close?
Code:
repeat with theContact in people in the group named theirGroup
if (the email of theContact is not missing) then
add theContact to group "test2"
save
end if
end repeat