APPACTIVATE function

Purpose: APPACTIVATE performs a case-insensitive search of the titles of open applications trying to match the first portion of the title with the function argument. If found, the focus is changed to the application or window in which the argument was found.


 Syntax:

 RetVal% = APPACTIVATE(TitleStr$)

 Parameters:

  • RetVal% TRUE is returned if the function succeeds.
  • TitleStr$ Substring to locate in first portion of title of window to be activated.

Example:


 RetVal% = APPACTIVATE("file")

The example above would activate the first window found in which the title begins with the letters "file"(case insensitive).