| || |
How can I copy content of my array to Clipboard and the Paste it in Text box
I have scenario where I have to Paste line of text in Mult-iline text box which has Letter and numbers. I tried looping through array and input the text one at a time which works at the point where text is displayed in the textbox but when I click on accept button it only can recognizes letters but number is converted to all zeros.
So is there way to copy content of my array into windows clipboard and then use windows paste menu to paste in text box.
Have you tried using a CStr command prior to putting the text/numerics into the edit box?
No, but I will try to convert them to cstr. Thanks
Can you paste the entire string into the multiline object all at once and let the object do the wrapping for you?
Tried CStr but still all numbers are converted to 0's
Last edited by szkapoo; 01-08-2015 at 06:53 AM.
I am able to send all text to Multi-line object but it converts all the numbers to 0's.
Browser("").Page("").WebEdit("object").set "abcd 1234" "defg 34343"
Last edited by szkapoo; 01-08-2015 at 06:48 AM.
Following Solution worked for Chrome Browser only, I need it to work with all the Browser, for some Reason array text is not being copied to clipboard for IE and FF Browsers.
Set clipboard = createobject("mercury.clipboard")
'Paste the list to box
set WShshell = CreateObject("wscript.shell")