HopJokey Posted January 17, 2008 Share Posted January 17, 2008 Hey Everyone, I wanted to know if it was possible to determine the PID of the IE process that was instantiated via _IECreate(). I know you can get a PID via the run() command but I would like to see if it was possible to determine the PID from an IE application object via any functions from IE.au3 or otherwise. I looked in the help for the IE.au3 commands and didn't see anything pertaining to this. Thanks in advance! Link to comment Share on other sites More sharing options...
Danp2 Posted January 17, 2008 Share Posted January 17, 2008 Have you looked at WinGetProcess? I know it isn't part of IE.au3, but it's probably your best shot at getting the PID. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
HopJokey Posted January 17, 2008 Author Share Posted January 17, 2008 Have you looked at WinGetProcess? I know it isn't part of IE.au3, but it's probably your best shot at getting the PID.Thanks Dan I looked at WinGetProcess() and I think this will do the trick! I can get the window handle from the IE object using _IEPropertyGet() and then pass the window handle into WinGetProcess() to get the PID. 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