Item 属性 (Windows 集合)
为指定索引的窗口检索窗口对象。 Index 用以 1 为基准的整数指定窗口的索引。 支持 EmEditor 7.00 或之后的版本。[JavaScript]
wnd = shell.windows.Item( Index );
[VBScript]
wnd = shell.windows.Item( Index )
参数
示例
[JavaScript]
alert( "Name of the first window: " + shell.windows.Item(1).Caption );
[VBScript]
alert "Name of the first window: " + shell.windows.Item(1).Caption
版本