Jump to content

Recommended Posts

Posted

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!

Posted

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.

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
×
×
  • Create New...