Need some help. I have an option in a custom application to “copy to clipboard”. I have used UIpath to to “copy to clipboard” and retrieved using Get From Clipboard option in “result” attribute
Now I opened a website using UIPath and using “Set Text” to paste this data copied from clipboard in a Text Area. However, the issue is that newline in the data seemed to removed.
When i use WriteLine the same “result” from Get From Clipboard and check in output window, it shows new line.
What is going wrong? Does Set Text removed New Lines?
Blockquote
This works perfectly if I have just once to paste from clipboard…
But as i said, I use Copy from Clipboard 2 times and store them in 2 different variables…
sorry… i sent wrong screenshot… I use Copy From Clipboard on 2 different data sets in my desktop application and store in variables kpCopy and houseCopy. Pl read it as kpCopy for both screenshots
So when I send Control V hotkey command to Text Area , it works well.
But when I assign clipboard data to a variable and SetText, newlines are removed… pretty odd actually…
@supermanPunch I simulated the same thing by creating a notepad with few lines and then used CLTR+C to copy to clipboard
And then I wrote a BOT to Get From Clipboard and store in a String variable. I logged in back to the website and used SetText … As you can see from screenshot, the newlines are gone