Jump to content

Getting one pid while fetching pid using wingetprocess(hwnd) for 2 running browser

Recommended Posts




I want to get the PID corresponding to window handler. (window title is same for 2 running url)

I am able to get handler of the URL, but when I am trying to get the PID corresponding to that handler, it is giving me same PID for 2 running url. (having same window title)

I tried winlist() to get the handler and wingetprocess(hwnd) to get the process id corresponding to handler provided.

Issue: Same PID is returning from wingetprocess function for 2 running url.(having same wintitle)

Thanks in advance!!

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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.