Jump to content
Sign in to follow this  
leomoon

Watching An Element Inside An External Window

Recommended Posts

leomoon

Hi, today I had to make an AutoIt program that will monitor and check for another program. If it exists, it will hide it and read the percentage label on that program. I had to make a small example to understand how to do it.

So here is the example I made. Hope it's going to help someone.

In this example there is a program called Main Form which is like the program you wan to monitor an element inside it. Then there is another file called Watcher Form which is your own script you wrote to monitor the Main Form.

The Watcher Form will monitor the Main Form and show the percentage of the Main Form inside itself.

mainForm.au3

watcherFrom.au3

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.