Jump to content
Sign in to follow this  
autoitquestion

check when child of program appeared

Recommended Posts

autoitquestion

Hi,

how can I check if I have child to specific program?

If exist, or when exist, I wish to do something?

Pls help..

Noa

Share this post


Link to post
Share on other sites
wakillon

This can help you ! Posted Image

Edit : this too.

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
autoitquestion

I did not understand it.

Do you have any easily way?

I just need to know if there is sub window of specific program..

Share this post


Link to post
Share on other sites
wakillon

Posts were about process child...

Get the class of your "soft" with WinGetClassList function

Get a windows list of this class by WinList function with Opt ( "WinSearchChildren", 1 ) ; 0=no, 1=search children also

And to sort window use WinGetProcess for get pid of each window, and you will need to see if they are child process of your "soft".

That's why i indicate this posts ! Posted Image

You didn't precise if it was an autoit or external soft ?


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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.