Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Windows Collection > Properties

EmEditor Macro Reference: Count Property

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Windows Collection

Count Property

Retrieves the number of windows.

[JavaScript]

nCount = shell.windows.Count;

[VBScript]

nCount = shell.windows.Count

Examples

[JavaScript]

alert( "Number of top-level windows: " + shell.windows.Count );

[VBScript]

alert "Number of top-level windows: " & shell.windows.Count

Version

Supported on EmEditor Professional Version 7.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.