Documents コレクションは、フレーム ウィンドウに表示されている文書 (Document オブジェクト) のコレクションを提供します。
| Count | 文書の数を取得します。 |
| Item | 指定するインデックスの文書の Document オブジェクトを取得します。 |
docs = new Enumerator( editor.Documents );
for( ; !docs.atEnd(); docs.moveNext() ){
doc = docs.item();
alert( doc.Name );
}
For Each doc In editor.Documents
alert doc.FullName
Next
EmEditor Professional Version 5.00 以上で利用できます。