sjorrel Posted June 29, 2005 Share Posted June 29, 2005 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). Link to comment Share on other sites More sharing options...
jpm Posted June 29, 2005 Share Posted June 29, 2005 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? Link to comment Share on other sites More sharing options...
stalliont Posted June 29, 2005 Share Posted June 29, 2005 (edited) Use this HotKeySet("{ENTER}", "Enter") Func Enter() $msg = $EnterButton EndFunc Edited June 29, 2005 by stalliont Link to comment Share on other sites More sharing options...
sjorrel Posted June 29, 2005 Author Share Posted June 29, 2005 Thanks for your help guys but I've got it sorted! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now