EmEditor Home - EmEditor Help - EmEditor Macro Reference

Editor Object

Properties

ActiveDocument Retrieves the Document Object for the current document.
Configs Retrieves the Configs Collection.
Documents Retrieves the Documents Collection for the currently opened documents.
EnableTab Sets or retrieves whether the tab is enabled.
FullName Retrieves the full specification of the EmEditor executable file (emeditor.exe), including the path.
Version Retrieves the string indicating the current version of EmEditor.

Methods

ExecuteCommandByID Executes the command identified by an integer indicating the Command ID.
FindInFiles Searches multiple files for matching string.
NewFile Creates a new file.
OpenFile Opens an existing file.
QueryStatusByID Retrieves the current status of the specified command, whether it is enabled and checked.
QueryStringByID Retrieves the string associated with the specified command.
ReplaceInFiles Replaces text in multiple files.
SaveAll Saves all currently open files.
SaveCloseAll Saves and Closes all open files.

Version

Supported on EmEditor Professional Version 4.00 or later.

Send feedback on this topic to Emurasoft

Copyright © 2003-2008 by Emurasoft, Inc.