{"identifier":77648,"topic":"Properties","name":"name","text":"<code>the <\/code>[<i><code>adjective<\/i><\/code> ]<code> name of <i>object <\/i>the [long] name of HyperCard<u> <\/u> set <\/code>[<code>the<\/code>]<code> name of <i>object<\/i> to <i>text<\/i> set <\/code>[<code>the<\/code>]<code> name of <\/code>[<i><code>menuItem<\/i> of<\/code>]<code> <i>menu<\/i> \u00ac     to <i>text <\/i>get <\/code>[<code>the<\/code>]<code> [English] name of \u00ac<\/code>         [<i><code>menuItem<\/i> of<\/code>]<code> <i>menu<\/i>  <\/code> The<code> name <\/code>property returns or sets the name of an object, menu item, or menu.  If the element doesn't have a name,<code> the name <\/code>returns the ID of the object instead. <br>\n<br>\n<code>the long name of HyperCard <\/code>returns the full path to HyperCard: <br><br>\n\n <code><pre>myDisk:Desktop Folder:HyperCard Folder:HyperCard\n<\/pre><\/code> You can use the adjective<code> English <\/code>to determine the names of menus and menu items if you're using a localized version of HyperCard: <br><br>\n\n <code><pre>if the English name of menuItem 5  \u00ac \n        of menu \"Edit\" is \"Paste\"...<\/pre><\/code> <br>\n","related":{"73264":"ID\u00a0","74508":"longWindowTitles","77883":"number (property)"},"examples":"the short name of button 1\nthe abbreviated name of bkgnd button 4\nthe abbrev name of bkgnd button 4\nthe abbr name of bkgnd button 4\nthe name of card field 1 of last card\nthe long name of me\nthe name of menuItem 1 of menu 2\nthe name of first menuItem of menu \"File\"\n\nset the name of button 1 to \"Hide field\"\nset the name of this card to line 1 of field \"Title\"\nset the name of menuItem 1 of menu \"File\" to \"Trouble\"\n\nif the English name of menuItem 5 of menu \"Edit\" is not \"Paste\"...","demo":"on nameDemo\n    answer \"The short name of card id 86868 is:\" & return & \u00ac\n    (the <b>short name<\/b> of card id 86868) & return & return &\u00ac\n    \"The abbreviated name is:\" & return &\u00ac\n    (the <b>abbr name<\/b> of card id 86868) & return & return &\u00ac\n    \"The name is:\" & return &\u00ac\n    (the <b>name<\/b> of card id 86868) & return & return &\u00ac\n    \"The long name is:\" & return &\u00ac\n    (the <b>long name<\/b> of card id 86868)\n end nameDemo\n ","debug":{"9":["the [adjective ] nam"],"10":["the long name of Hyp"]}}