Text entry issues

This is a follow up to my last question. I am getting a series of numbers from a keyboard simulator (connected with a usb cable). It sends three digit numbers followed by a return. Like this:
456 return
457 return
458 return

How can I load the values into a variable and then clear the text entry after each return stroke? My goal is to move an object to a new position depending on the current value of the variable. As it is now, the previous number i still stored in memory with a line break (from the return stroke).

Thanks

Farid

Actually I solved it on my own. Here is my solution. The simulator only sends keyboard release.

1 Like