document_alias

document_alias()

Obtain an alias to the file 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

alias