Difference between revisions of "FindWindow"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function FindWindow(Title: AnsiString): Boolean; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Finds a w...") |
|||
| Line 19: | Line 19: | ||
end. | end. | ||
</source> | </source> | ||
| + | |||
| + | ==See Also== | ||
| + | *[[FindWindowTitlePart]] | ||
| + | *[[FindWindowBySize]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Client Functions]] | [[Category:Client Functions]] | ||
Revision as of 13:40, 4 July 2011
Definition
function FindWindow(Title: AnsiString): Boolean;
Availability
SCAR Divi 3.00 > Current
Description
Finds a window with the title specified by Title and if found sets it as the selected client window.
Example
begin
if FindWindow('Untitled - Notepad') then
WriteLn('Found notepad')
else
WriteLn('Didn''t find notepad');
end.