Xcode applescript execute a button by pressing return or enter
I am using Xcode 5 with applescript. I have a button that will execute some code. I am ok when I click on the button. everything works. How would one execute the same code if I press Enter/Return instead of pressing the button. thanks