Question

Trigger automation when user presses enter in a text box

Hi,

I am trying to trigger an automation after the user enters text in to a text box and presses the enter key. Can anyone help?

***Updated by moderator: Lochan to update Categories***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
November 27, 2017 - 8:49pm

There's nothing that does that exactly, but if the text box is changed or blurred when the user presses enter you can use the event off of that for your automation.

November 27, 2017 - 9:31pm

Use KeyPress event for enter and then start adapter.

November 28, 2017 - 3:07am

thanks jaychandrak, please can you elaborate on your answer? KeyPress activates the automation irrespective of what key is pressed. How can start adapter change that?

November 28, 2017 - 5:48pm

Assuming text box is in windows form (openspan). Refer screenshot.

August 8, 2018 - 10:22am
Response to jayachandrak

hey Jayahcnadrak, but is there a way to ensure that only the "Enter" key will work for this and not any other key?