We use cookies to collect and analyze information on site performance and usage,
to provide social media features and to enhance and customize content and advertisements.
[local fucntion declaration]
FUNCTION ulong FindWindowA(ulong classname,string windowname) &
LIBRARY "user32.dll"
[powerscript]
public function unsignedlong uf_findwindow (string as_name);
//
// as_name: Name of window (case sensitive)
//
// Returns: Window handle or zero if not found
//
ulong ul_class
SetNull(ul_class)
RETURN FindWindowA(ul_class,as_name)