The %FrontDocumentPath % token returns (v11.0+) the path of the document associated with the front window if the Application supports this property.