Pascal Scripting: FindWindowByWindowName

Prototype:

function FindWindowByWindowName(const WindowName: String): HWND;

Description:

Retrieves a handle to the top-level window whose window name matches the specified string. This function does not search child windows, and does not perform a case-sensitive search. Returns 0 if no window is found.