AppCtrlScript

MAY Computer

Help

FINDWINDOW

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Other

See also  

ACTIVATEWINDOW, FINDWINDOWLIKE, FINDTASK, CLOSEAPPS, KILLAPPS

Searches the window list for a window matching the parameters and stores the window handles of all found windows separated by ";". Prefer using the FINDWINDOWLIKE method as this method is known to make problems on Windows 2000 and upper (windows are not repainted properly any more). This method is kept only to provide backward compatibility.

Syntax

FINDWIN[DOW] <VariableName>, <ClassName>, <WindowText>[, <SubWins>] 

Part

Description

<VariableName> Script variable where to store the found window handles.
<ClassName> Window class name.
<WindowText> Window title/text or part of it.
<SubWins> Optional 0 or 1; if 0 only windows that are directly childs of the desktop window are searched. 1 is the default.