Input into web page via clipboard
Posted on 2012-03-15
A customer has a website that we need to enter data into. It is very time consuming and has a high possibility of human keystroke error.
What I would like to do is input the 6 fields of data into the clipboard, (I can program this automatically) and have the user click on the first field of the web form and hit CTRL V to paste the data. However, I need to have the clipboard have a TAB command to move from one field to the next. Example:
123 <TAB> ABC <TAB> 789 <TAB> XYZ
The user would scan a barcode which loads the clipboard with the appropriate data string and click on the first field in the web form, then hit CTRL V. 123 would be pasted in to that field, the tab execute and move the cursor to the second field, ABC would be inserted, another tab to the third field, 789 entered and so on.
I have done the above but the problem is that the (CHAR(009)) command tabs the cursor over in the first field and all characters are typed into the first field. The the embedded tab does not move the focus to the next field. However hitting the keyboard tab does move focus to the next field. I have tried ASCII codes 9,10,11,12. Oddly enough, 13 does execute a carriage return that works outside the current text box, while 9 does not.
I have no control nor can I modify the customer's web page. I am fairly proficient at database programming (SQL etc.) but not webpages. If I can succeed at this, it will have a major savings in both labor time and error reduction.
Any assistance greatly appreciated. Thanks,