Count 屬性 (Windows 集合)

檢索視窗數目。

[JavaScript]

nCount = shell.windows.Count;

[VBScript]

nCount = shell.windows.Count

示例

[JavaScript]

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

[VBScript]

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

版本

支持 EmEditor 7.00 或之後的版本。