Definiuje skrót klawiszowy, który uruchamia makro.
Musi mieć format Ctrl+Alt+Shift+Number,
gdzie Number to pojedyncza cyfra. Makra bez skrótów można wykonać tylko z poziomu menu Narzędzia > Makra.
functionName
string
Wymagany. Nazwa funkcji Apps Script, która wykonuje makro. Domyślnie jest ona taka sama jak menuName w przypadku funkcji utworzonych automatycznie, ale nie jest to wymagane.
menuName
string
Wymagany. Nazwa makra wyświetlana w interfejsie Arkuszy Google.
[null,null,["Ostatnia aktualizacja: 2024-12-21 UTC."],[[["Sheets macros are defined using a manifest configuration, which must include all required fields."],["Each macro definition specifies a keyboard shortcut, the name of the Apps Script function to execute, and the menu name displayed in the Google Sheets UI."],["The keyboard shortcut must be unique and follow the format `Ctrl+Alt+Shift+` followed by a single digit."],["Macros without assigned shortcuts can only be run from the **Tools \u003e Macros** menu in Google Sheets."]]],[]]