Jump to content

Recommended Posts

Posted

Hi,

Im trying to have AutoIT run a function when it detects a 'Button Click' of a certain button on a certain application.

I think i need to be using the PeekMessage() Function from the Win32API to to the thread message queue and look for messages from WM_MOUSEFIRST to WM_MOUSE last to pick up all mouse events, then loop thru those and try figure out which is a click, then work out if the click was on the button.

However im hoping for something easier :) or even an example on how to read messages and events occurring in non AutoIT windows.

Any suggestions?

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...