Clipboard

  • 285 Views
  • Last Post 17 December 2018
gugulothvenkatesh207@gmail.com posted this 06 December 2018

How to add Clipboard data using GetText Component to a Dictionary. After that I want to access key and value pairs.

The clipboard data consists of key and value which are separated by colon.

Order By: Standard | Newest | Votes
vamsi.goli@intellibot.io posted this 12 December 2018

Hi Venkatesh,

Thank you for your interest in Intellibot.

If my understanding is correct you would like to use the GetText component which would return you a string value. (In your case it is in Key Value Pair format).

please find the attached screenshot of the process.

Get Text component will return you the clipboard content for example in my case which I have copied locally is (Vamsi: Intellibot).

So GetItemsByIndex will return you the value of its corresponding Key. (Value is Intellibot).

Similarly please explore all the other methods in the "Key-Value Pair object" available at the left side of the tool.

Adding another screenshot which will add the values to the key-value component instead of GetText,

Please let me know if you need any further clarifications on the same.

Thanks,

Vamsi Goli.

 

gugulothvenkatesh207@gmail.com posted this 13 December 2018

Hi Vamshi,

Thank you for your reply.

I understood what you have explained but my scenario is somewhat different.

Actually I'm copying the data to Clipboard and the data consists like below.

    Customer          : Venkatesh

    Mobile Number : 123456789

    PIN Code      : 19711

    PAN    :  14521478522

    ADDRESS : 1393 Argonne Street, Newark, 

    Delaware, 19711, United States of America.

 

But when I connected Clipboard Get Text Component to ParseFromText Component it is not considering as a key-value pair.

vamsi.goli@intellibot.io posted this 17 December 2018

Hi Venkatesh,

Good to know that you have understood the case we have explained to you earlier.

In your case, I understand you have data in the clipboard in a line.

So please use "GetItemByIndex" component which we have added in the below screenshot and add as many indexes you need as per your requirements (like 0,1,2,3.....)

Make sure you have "ADDRESS" in a line in order to get the most accurate results.

Let me know if you need any further clarifications.

Thanks,

Vamsi Goli.

 

 

Close