Sign in to follow this  
Followers 0
wolf40

Reading inputted data

2 posts in this topic

Hello, This is a great program and Forum.

I am looking for a way to detect the last digit of a 6 digit number when it is inputted into a field in a program I am using. This will be a trigger to start a subprogram. Any Ideas? Thanks.

Share this post


Link to post
Share on other sites

Here's a script that waits for you to type "quit" into the Start > Run box...

While 1
   sleep(100);prevent maxing out the CPU
   If ControlGetText("Run","","Edit1") = "quit" Then
      MsgBox(4096,"Done","You typed 'quit' into the Run dialog!")
      ExitLoop
   EndIf
WEnd

Try the AutoIt Window Spy to check if you can detect the text in the field. ControlGetText does not work with all types of controls :idiot:


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

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