ScriptName Property (Window Object)

Retrieves only the file name of the currently running macro file.

[JavaScript]

str = ScriptName;

[VBScript]

str = ScriptName

Version

Supported on EmEditor Professional Version 5.00 or later.