lists and mail

tell application “Mail”
set mboxopen to {inbox, mailbox “my local mailbox”}
set selected mailboxes of message viewer 1 to mboxopen
end tell

works fine…

but how do I do I create the list {inbox, mailbox “my local mailbox”} from a result of a subroutine that has returned the name (text) “my local mailbox”