ActivateApp statement (LotusScript® Language)

Makes a program window the active window.


ActivateApp windowName

AppActivate is acceptable in place of ActivateApp.



A string expression designating the program window to activate.


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 "Notes® - Workspace," then a windowName value of "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.