document_url

document_url()

Obtain a file URL of the frontmost document of the application

If it is failed to get the front document window, error number 1750 will raise.

If it is failed to get a file reference of the front window, error number 1751 will raise.

Result

text