Jump to content
Sign in to follow this  
HopJokey

Getting the Process ID (PID) from IE.au3?

Recommended Posts

HopJokey

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!

Share this post


Link to post
Share on other sites
HopJokey

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.

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
Sign in to follow this  

×

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.