Page 1 of 1

Need help with Find HWND using FindWindow

PostPosted: Tue Sep 30, 2008 4:28 pm
by xplorexxx
Hi all, I can find the HWND using FindWindow if I know exactlly the Window Tittle.
In the case of the Tittle is generated in the runtime, is there any way to find the HWND?

PostPosted: Tue Sep 30, 2008 4:49 pm
by L. Spiro
Open by process name.
Enumerate the windows.


L. Spiro

PostPosted: Tue Sep 30, 2008 10:44 pm
by xplorexxx
I did OpenProcessByName sucessfully but i don't know how to EnumWindows with your script.
Can you help me with a little script here?
Thank you.

PostPosted: Wed Oct 01, 2008 12:59 am
by L. Spiro
I have not added this function to the script yet.
Next release.


For now you can work with GetForegroundWindow() after putting the window in front of all others.


L. Spiro

PostPosted: Sun Nov 23, 2008 10:30 am
by L. Spiro
EnumWindows() and EnumChildWindows() added to the scripts in MHS 5.004.


L. Spiro