EmEditor Home - EmEditor Help - EmEditor Macro Reference - Documents Collection

Count Property

Retrieves the number of documents.

[JavaScript]

nCount = editor.Documents.Count;

[VBScript]

nCount = editor.Documents.Count

Examples

[JavaScript]

alert( "Number of Documents: " + editor.Documents.Count );

[VBScript]

alert "Number of Documents: " & editor.Documents.Count

Version

Supported on EmEditor Professional Version 5.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.