hammerspoon2-docs
    Preparing search index...

    Interface HSChooserMenuItem

    An entry of a chooser's contextMenu

    interface HSChooserMenuItem {
        shortcut?: string | HSMenuShortcut;
        title?: string;
        type?: "divider";
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Any other fields, such as an id, which are passed back to onContextMenuSelect unchanged

    Index
    shortcut?: string | HSMenuShortcut

    A keyboard shortcut shown beside the entry, as for HSMenuItem. It only works while the menu is open

    title?: string

    The entry's label. Required unless type is "divider"

    type?: "divider"

    Makes the entry a separator line