Jump to content

Recommended Posts

Posted

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

Posted (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 by Dameat

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...