Screen Scrapping on Button click or key board enter key

User Events is what you’re looking for.

Check this tutorial:

and the documentation on user events.