Jump to content

_ProcessSendCloseMessage


Ascend4nt
 Share

Recommended Posts

..

Edited by Ascend4nt
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...