hammerspoon2-docs
    Preparing search index...

    Interface HSApplicationMenuItem

    An item in one of an application's menus

    interface HSApplicationMenuItem {
        enabled?: boolean;
        isSeparator?: boolean;
        items?: HSApplicationMenuItem[];
        title: string;
    }
    Index
    enabled?: boolean

    Whether the item can be chosen. Absent for a separator

    isSeparator?: boolean

    true if the item is a separator line

    The items in the item's submenu, if it has one

    title: string

    The item's title, or "-" for a separator