gzken Posted January 25, 2008 Share Posted January 25, 2008 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. Link to comment Share on other sites More sharing options...
erezlevi Posted January 25, 2008 Share Posted January 25, 2008 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 Link to comment Share on other sites More sharing options...
weaponx Posted January 25, 2008 Share Posted January 25, 2008 You need something like this (ProcessGetHWnd):http://www.autoitscript.com/forum/index.ph...=ProcessGetHWnd Link to comment Share on other sites More sharing options...
gzken Posted January 28, 2008 Author Share Posted January 28, 2008 You need something like this (ProcessGetHWnd):http://www.autoitscript.com/forum/index.ph...=ProcessGetHWndThanks WEAPONX Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now