Sign in to follow this  
Followers 0
sjorrel

Perform action when any text is entered into a GUI

4 posts in this topic

I have an edit control in a AU3 script.

Whilst in the GUI loop it checks to see if any text exists in this edit control, and if it does, it performs a function.

Because the function is quite intensive it is causing odd behaviour with other programs ( this au3 script is designed to always run in the background ).

Is there an alternative way to get my script to carry out a function whenever text is entered into the edit control? (without using an additional button which is acitivated when enter is pressed).

Share this post


Link to post
Share on other sites



I have an edit control in a AU3 script.

Whilst in the GUI loop it checks to see if any text exists in this edit control, and if it does, it performs a function.

Because the function is quite intensive it is causing odd behaviour with other programs ( this au3 script is designed to always run in the background ).

Is there an alternative way to get my script to carry out a function whenever text is entered into the edit control? (without using an additional button which is acitivated when enter is pressed).

<{POST_SNAPBACK}>

Can you post a small script reproducing your behavior so I can help you more?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Use this HotKeySet("{ENTER}", "Enter")

Func Enter()

$msg = $EnterButton

EndFunc

Edited by stalliont

Share this post


Link to post
Share on other sites

Thanks for your help guys but I've got it sorted!

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