{"identifier":36714,"topic":"Commands","name":"enterKey","text":"<code>enterKey<\/code> <br><br>\n\n The<code> enterKey <\/code>command sends a statement typed into the Message box to the current card. <br><br>\n\n HyperCard sends the<code> enterKey <\/code>command to the current card when the user presses the Enter key unless the insertion point is in a field, in which case HyperCard sends<code> enterInField<\/code> instead. <br>\n<br>\nYou can handle the<code> enterKey <\/code>message as follows: <br><br>\n\n <code><pre>on enterKey\n   <i>statements<\/i>\nend enterKey<\/pre><\/code> <br>\n","related":{"3428":"Commands sent automatically","36487":"enterInField","6031":"Where messages are sent initially"},"examples":"","demo":"","debug":{"9":["enterKey\r\rThe enterK"],"10":["You can handle the e"]}}