Sign in to follow this  
Followers 0
gzken

how to get a window handle through a PID?

4 posts in this topic

i have got a PID and i knew that the process was a GUI program, can i get the window's handle through the process ID? any function can do this? thanks.

Share this post


Link to post
Share on other sites



i have got a PID and i knew that the process was a GUI program, can i get the window's handle through the process ID? any function can do this? thanks.

try this:

$LParam=@autoitpid

$iPID = Number($LParam);

$iPID should hold the Handler

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0