Wait after Text is Updated to Perform an Action

Hi everyone,

I’m building a kiosk where trade show visitors can scan a badge. Once the user scans the badge, I want the kiosk to automatically advance to the next step in the process. My scanner operates as a keyboard, so I have it successfully scanning the badge and placing the text in an off-screen text field. The problem I’m having is the “text is updated” trigger is firing for each character that gets dumped into the field. The action is to save the data to an Excel spreadsheet, so this currently results in a new row for each additional letter that gets added. For example:

Even if I add a delay, it still fires each time a new letter is added. I can’t wait for a certain number of characters because the data length is variable. That being said, the 0.1 second delay should be enough for the scanner to get all the data into the field. Anyone have any thoughts on how I can delay BEFORE grabbing the data from the field and saving it to the spreadsheet? Thanks.

Hi @johnv and welcome to Intuiface!

I can think of 2 ways to address that

  • If you can, configure your badge reader to send an ENTER keystroke, then use the “Enter key is pressed” trigger instead of the “text is updated”
  • If you can configure your reader to act as a Serial Device and you are running on a Windows device, you can then use this Interface Asset. You’ll get a specific trigger each time the scanner scans a badge.

Let me know if one of these solutions work for you.



Thanks @Seb I was able to configure the ENTER keystroke suffix, I think that did the trick.

1 Like