tell application \"Mail\"
set the selected mailboxes of message viewer 1¬
to {mailbox \"Spam\" of application \"Mail\"}
end tell
Daniel Jalkut said:Interesting that it's only in Mail. I wonder if Mail is doing something funny with Cmd-2 as well? I wonder if you try Cmd-3, does it change things at all?
Daniel Jalkut said:I just tried on my Mac and seemed to be able to assign two different Mail scripts to the separate Cmd-2's. I wonder if it does have something to do with the keyboard you're using.
It looks like you're new here. If you want to get involved, click one of these buttons!