Shell Object

Properties

ForegroundWindow

Retrieves the current foreground window.

KeepRunning

Retrieves or sets the flag to keep running the macro while using V8.

windows

Returns the top-level Windows collection.

Methods

CreateFolder

Creates a folder.

DeleteFile

Deletes one or more specified files.

DeleteFolder

Deletes one or more specified folders and their contents..

FileExists

Returns true if a specified file exists; false if it does not.

FindWindow

Finds the top-level Window object by a class name and/or by a window title.

FolderExists

Returns true if a specified folder exists; false if it does not.

GetEnv

Retrieves an environment variable.

GetFileAttributes

Returns the attributes of a specified file or folder.

GetKeyState

Retrieves the status of the specified virtual key.

Run

Runs a program in a new process.

SendKeys

Sends one or more keystrokes (or mouse activities) to the active window.

SetFileAttributes

Sets the attributes of a specified file or folder.

Version

Supported on EmEditor Professional Version 7.00 or later.