{"name":"button","info":"<b>HyperTalk Definition<\/b>An expression that identifies a button by name, number, or id, using one of the following forms:<br><br>\n\n[<code>card<\/code>] <code>button id <i>posInteger<\/i> <\/code>[<code>of <i>card<\/i><\/code> ]<code><\/code>[<code>card<\/code>]<code> button <i>text<\/i> <\/code>[<code>of <i>card<\/i><\/code> ]<code> -- name<\/code>[<code>card<\/code>]<code> button <i>posInteger<\/i> <\/code>[<code>of <i>card<\/i><\/code> ]<code><i>ordinal<\/i> <\/code>[<code>card<\/code>]<code> button <\/code>[<code>of <i>card<\/i><\/code> ]<code><br><br>\n\nbkgnd<\/code> <code>button id <i>posInteger<\/i> <\/code>[<code>of <i>card<\/i><\/code> ]<code>bkgnd button <i>text<\/i> <\/code>[<code>of <i>card<\/i><\/code> ]<code> -- namebkgnd button <i>posInteger<\/i> <\/code>[<code>of <i>card<\/i><\/code> ]<code><i>ordinal<\/i> bkgnd button <\/code>[<code>of <i>card<\/i><\/code> ]<code><\/code>For example:<br><br>\n\n<code><pre>card button id 3894\ncard button \"Return\"\ncard button 1\nfirst card button\nbkgnd button 2 of card 2\nlast bkgnd button\n<\/pre><\/code>\nWhen used inside a button script:<code><pre>me\n<\/pre><\/code>\nWhen a button receives a message:<code><pre>[the] target\n<\/pre><\/code>A button can also be referred to as a <i>part<\/i> when you\u2019re talking about its position among all buttons and fields within the same card or background.<br><br>\n\n<b>AppleScript Definition<\/b>An expression that identifies a button by name, number, or id, using the same forms as HyperTalk except that \u201cbackground\u201d must be used in place of \u201cbkgnd\u201d."}