{"identifier":70039,"topic":"Properties","name":"commandChar","text":"<code> set <\/code>[<code>the<\/code>]<code> commandChar of <i>menuItem<\/i> \u00ac     of <i>menu<\/i> to <i>char<\/i> <br><br>\n\n <\/code>The<code> commandChar <\/code>property returns or sets the character that you'd press with the Command key as the keyboard shortcut (commonly called the Command-key equivalent) for a menu item.   <br><br>\n\n If the menu item has no Command-key equivalent, the property returns<code> empty<\/code>. Otherwise, it returns the character. <br>\n<br>\nIf more than one menu item use the same command character, the menu item on the menu farther to the right takes precedence.","related":{"27092":null,"34927":null,"69523":"checkMark","34045":"create","34993":"disable","35579":"doMenu","61996":"enable","71193":"enabled","76221":"markChar","58014":"menus","76567":"menuMessage","45460":"put","45965":"reset"},"examples":"set the commandChar of menuItem 3 of menu \"Help\" to \"?\"\n\nget the cmdChar of second menuItem of menu \"File\"\nif it is \"O\" then ...","demo":"","debug":{"9":["\rset [the] commandCh"],"10":["If more than one men"]}}