Need help with Find HWND using FindWindow

Ask for Help on Using the Language With Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Need help with Find HWND using FindWindow

Postby xplorexxx » Tue Sep 30, 2008 4:28 pm

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?
xplorexxx
Hackleberry Fin
 
Posts: 20
Joined: Sat Jul 21, 2007 10:48 am

Postby L. Spiro » Tue Sep 30, 2008 4:49 pm

Open by process name.
Enumerate the windows.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby xplorexxx » Tue Sep 30, 2008 10:44 pm

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.
xplorexxx
Hackleberry Fin
 
Posts: 20
Joined: Sat Jul 21, 2007 10:48 am

Postby L. Spiro » Wed Oct 01, 2008 12:59 am

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
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby L. Spiro » Sun Nov 23, 2008 10:30 am

EnumWindows() and EnumChildWindows() added to the scripts in MHS 5.004.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron