Dameat Posted November 4, 2010 Posted November 4, 2010 I have a newb question as i am very new to this... I have a script i wrote that scrapes data from one field (Barcode) and populates it in another field. However the field i am populating doesn't recognize the text as entered in by the keyboard so the "Find" button does not appear. If I enter text into the field and then run the script the Find button works great and everything is good. So...How do I send text to this field in my script...heck a 0 will work...and then have the rest of my script run? Here is the script: $var = ControlGetText("[CLASS:ThunderRT6MDIForm]", "", "[CLASS:ThunderRT6TextBox;INSTANCE:14]") ControlSetText("[CLASS:ThunderRT6MDIForm]", "", "[CLASS:ThunderRT6TextBox;INSTANCE:5]", $var ) Thanks, Mike
Dameat Posted November 4, 2010 Author Posted November 4, 2010 (edited) I got it...I just copied the second line and replaced the $var with a "0"...and then the third line scrapes the barcode...the find button works. Edited November 4, 2010 by Dameat
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