Property
Application.CurrentDocument (read-only, Document)
Syntax
Application.CurrentDocument
Remarks
Returns a Document object corresponding to the image window that currently has the focus.