Sign in to follow this  
Followers 0
Ascend4nt

_ProcessSendCloseMessage

3 posts in this topic

#1 ·  Posted (edited)

..

Edited by Ascend4nt

Share this post


Link to post
Share on other sites



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

#3 ·  Posted (edited)

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  
Followers 0