Show/Hide Toolbars

EmEditor Help

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

EmEditor Macro Reference: Item Property

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

Item Property

Retrieves the document object for the document of the specified index.

[JavaScript]

doc = editor.Documents.Item( Index );

[VBScript]

doc = editor.Documents.Item( Index )

Parameters

Index

Specifies the index of the document as a one-based integer.

Examples

[JavaScript]

alert( "Full Name for the first document: " + editor.Documents.Item(1).FullName );

[VBScript]

alert "Full Name for the first document: " & editor.Documents.Item(1).FullName

Version

Supported on EmEditor Professional Version 5.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.