I think this is actually an OF bug. Typically "document window 1" or "front document window" would get the frontmost window. It doesn't in OF. The original code in the reveal script used to work around this bug, but doesn't seem to anymore.
(Sent as feedback.)
(Sent as feedback.)
__________________
Cheers,
Curt
Cheers,
Curt