How can I convert:
to
“email1.com , email2.com ” ???
How about this piece of code:
tell application "Microsoft Entourage"
set reclist to {{address:"email1@email.com", display name:"John Doe"}, {address:"email2@email.com", display name:"Mary Smithl"}}
set lenreclist to length of reclist
set stringlist to ""
repeat with i from 1 to lenreclist
set rec to item i of reclist
set entry to (address of rec) & " <" & (display name of rec) & ">"
if i is equal to lenreclist then
set stringlist to stringlist & entry
else
set stringlist to stringlist & entry & ", "
end if
end repeat
end tell
Worked beautifully! Thanks!