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.
FileDialog Displays an Open or Save As dialog box that lets the user specify the drive, directory, and the name of a file to open.
FindInFiles Searches multiple files for matching string.
GetProfileInt Retrieves the integer value for the specified entry from the Registry or an INI file depending on the EmEditor settings.
GetProfileString Retrieves the string value for the specified entry from the Registry or an INI file depending on the EmEditor settings.
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.
WriteProfileInt Sets an integer value into the Registry or an INI file depending on the EmEditor settings.
WriteProfileString Sets a string value into the Registry or an INI file depending on the EmEditor settings.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.