Jump to content
Sign in to follow this  
Ascend4nt

_ProcessSendCloseMessage

Recommended Posts

Ascend4nt

..

Edited by Ascend4nt

Share this post


Link to post
Share on other sites
Jango

Hello,

It's intresting, does it work with _IECreate ? in other words does IE started with _IECreate a child process ?

Share this post


Link to post
Share on other sites
Ascend4nt

Hello,

It's intresting, does it work with _IECreate ? in other words does IE started with _IECreate a child process ?

I just tested it, with default parameters, and yes - it does work. The thing is - its a matter of timing. You need to make sure the Window activates and is ready to receive 'close' messages. That's why I put the MessageBox() there, to pause the script and let you visually acknowledge the open windows. You can use WinWaitActive() and the like though.

-a

*EDIT: When I *don't* use default parameters for _IECreate(), it in fact does *not* show up as a child process. I verified this a few ways - the parent process appears to be 'svchost.exe' for anything but a default parameter list. Odd. Well, you could always open Internet Explorer by using Run() if you need it to be shown in the child processes list..

Edited by ascendant

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.