View Single Post
Quote:
Originally Posted by kmarkley View Post
I've discovered that the "Open Linked Mail Message" and "Update Mail Link to New Format" scripts take the selected action from the first document window, not the frontmost document window. Leading to undesired results when multiple windows are open.

Easy fix. Just change:
Code:
tell document window 1
to:
Code:
tell (the first document window whose index is 1)
Just got back from a long trip, so no time to update at the moment.

That's a strange incantation for the frontmost window. How much did you test that solution? I ask because there was an outstanding bug with OF's scripting interface not correctly returning the frontmost window. I wonder if it's fixed.
__________________
Cheers,

Curt