Jump to content

Need help with some scripting (perform function when Editbox change on 3rd party program)

Recommended Posts

Hi All,

 sorry quite new to this.  However managed to learn some good things so far.  I'm trying to monitor two edit boxes on running program. 


I'm trying to run an action when the edit boxes are detect any changes.


I can get the get the text from the Edit1 & Edit2 fields and display them using the code below, which is a start, however i'm having trouble working out how to write the code for only do the function on editbox input change or change focus (offclick)

Apologies if this has been covered before, i could not work it out.  Any help would be greatly appreciated.





#include <MsgBoxConstants.au3>


Func Example()

    Local $hWnd = WinWait("[CLASS:ThunderRT6FormDC]", "", 10)

    Local $sText = ControlGetText($hWnd, "", "Edit2")

    ; Display the text of the edit control.
    MsgBox($MB_SYSTEMMODAL, "", "The text in Edit2 is: " & $sText)

EndFunc   ;==>Example

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

    No registered users viewing this page.

  • Create New...