ankitv Posted March 25, 2018 Share Posted March 25, 2018 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 More sharing options...
Bilgus Posted March 25, 2018 Share Posted March 25, 2018 see https://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm Especially the part about INSTANCE WinWaitActive("[TITLE:My Window; CLASS:My Class; INSTANCE:2]", "") 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