Difference between revisions of "FindWindows"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function FindWindows(const Title: string): THwndArray; </source> ==Availability== SCAR Divi 3.35 > Current ==Description== ...") |
m (→Description) |
||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
− | Finds all windows that have the title specified by '''Title'''. The title is case-sensitive! An extended version of this function is available as [[ | + | Finds all windows that have the title specified by '''Title'''. The title is case-sensitive! An extended version of this function is available as [[FindWindowsEx]]. |
==Example== | ==Example== |
Latest revision as of 21:39, 18 October 2013
Definition
function FindWindows(const Title: string): THwndArray;
Availability
SCAR Divi 3.35 > Current
Description
Finds all windows that have the title specified by Title. The title is case-sensitive! An extended version of this function is available as FindWindowsEx.
Example
var Wnds: THwndArray; Idx, Len: Integer; begin Wnds := FindWindows('Untitled - Notepad'); Len := Length(Wnds); for Idx := 0 to Len - 1 do WriteLn(Wnds[Idx]); end.