Hide UXP plugin's command from InDesign plugins panel

Is it possible to hide commands of UXP plugins from the InDesign plugins panel?
When logging the entrypoints of a plugin using the UDT, I see the following fields among those of the command:

uxp.entrypoints.getCommand("<ID>")

{
    "_manifestCommand": {
        "type": "command",
        "commandId": "<ID>",
        "id": "<ID>",
        "sequenceNumber": 1,
        "label": "...",
        "description": "...",
        "hideFromMenu": false,
        "hideFromPluginsPanel": false,
        "triggerEvents": []
    },
    "_isManifestCommand": true,
    "_commandOptions": null
}

Setting hideFromMenu and hideFromPluginsPanel to true when defining the command in the manifest does not seem to affect the visibility anyhow.
Is it at all possible to achieve this?

I’m also interested in this question. As far as I can see commands are the only way to have IPC.

This doesn’t make sense to show commands, that are used for communication between plugins, to users.

Visible commands used for IPC is exactly our problem aswell :slight_smile:

1 Like