wolf40 Posted January 5, 2005 Share Posted January 5, 2005 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. Link to comment Share on other sites More sharing options...
CyberSlug Posted January 5, 2005 Share Posted January 5, 2005 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 WEndTry the AutoIt Window Spy to check if you can detect the text in the field. ControlGetText does not work with all types of controls Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! 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