Jump to content

Recommended Posts

Posted

I've looked and looked for this but just can't find it.

How do you handle mouse clicks in Autoit?

Basically if I have an internet explorer window open, I want the script to just wait until the mouse is clicked and then minimize the IE window?

Is this easy to do?

Thanks

Mabsey

Posted

Ok, I've figured out what I need to do and want to run this by people.

When the Status Bar Text changes I need to minimize the Internet Explorer window.

I suspect I've got to assign the Statusbartext to a variable and then run a loop to keep checking it, or is it easier than that?

Mabsey

Posted

I suspect I've got to assign the Statusbartext to a variable and then run a loop to keep checking it, or is it easier than that?

You've got it. Just be sure to add in a short sleep command, otherwise your poor CPU will work hundreds of times per second checking that variable, which probably isn't what you want. A 100 ms sleep works well.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

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
  • Recently Browsing   0 members

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