EmEditor Home - EmEditor Help - EmEditor Macro Reference - Document Object

Name Property

Retrieves the file name of the document without its path.

[JavaScript]

strName = document.Name;

[VBScript]

strName = document.Name

Examples

[JavaScript]

alert( document.Name );

[VBScript]

alert document.Name

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.