Sign in to follow this  
Followers 0
creeping

Creating A Control Hook

2 posts in this topic

Just wondering if this is possible in autoit, I have a control (edit box) in another application (not created by autoit). Is there a way to create a windows hook some how so that when text appears in the edit box a trigger is activated (a function I wrote).

I know I could use a loop checking the text, then call the function each time the text is different, i thought there might be a better way.

Any ideas?

Thanks.

Share this post


Link to post
Share on other sites



Just wondering if this is possible in autoit, I have a control (edit box) in another application (not created by autoit). Is there a way to create a windows hook some how so that when text appears in the edit box a trigger is activated (a function I wrote).

I know I could use a loop checking the text, then call the function each time the text is different, i thought there might be a better way.

Any ideas?

Thanks.

I'd say the loop or AdlibEnable() would be your best bet there.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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  
Followers 0