Page 1 of 1

Keyword: focusWin - Bring to front

Posted: Thu Mar 18, 2021 9:42 pm
by YiMeng
Description
  • Sets a window by its form title into focus, bring to front.
  • Sets the window as target for send key commands.
  • Includes a 200ms delay.

Parameters
  • x: The name of a window title
  • Space within parameter is allowed
  • A trailing "*" on the parameter is allowed

Usage
  • focusWin x

On Error
  • If multiple windows are found to match the parameter, the first window with the match title will be set into focus.
  • If no match is found, command will be on standby until a match is found.