Jump to content

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


Recommended Posts

Hi

Requirement: 

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!!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...