LOTUSSCRIPT LANGUAGE


ActivateApp statement
Example

Makes a program window the active window.

Syntax

ActivateApp windowName

AppActivate is acceptable in place of ActivateApp.

Elements

windowName


Usage

windowName is not case sensitive. It must exactly match the leftmost characters of the program title that appears in the program window title bar. For example, if the program title of a running program window is "Lotus Notes - Workspace," then a windowName value of "Lotus Notes" will activate that window. If more than one program title matches windowName, LotusScript will choose one of the program windows.

ActivateApp can activate a minimized window, but cannot restore or maximize it. Use SendKeys to restore or maximize a window. Use Shell to start a program.

Example
See Also