Re: "GUI Scripting in Mail", "selection bug in Finder" and "Mail preferences in Mt Lion".
I've solved all the problems in my script with four lines of code:1, 2, & 3: Thanks Yvan and Chris!
4. My previous code for opening an external message file in Mail was:
tell application "Mail" open msgAlias
but this fails in Mt Lion. (The message window opens, but it will not load the data.) My new code is:
tell application "Finder" to open msgAlias using application file id "com.apple.mail" tell application "Mail"
which works in both Lion and Mt Lion.
Then there is that bug in Mail where message windows forget the user's preferred window bounds when Print is used. I've reported this to Apple (Bug ID# 13049184).
|