Creating Commands for Shortcuts



  • Hello!
    I've noticed that some plugins have menu commands that appear in the Customize Commands dialog and I'd like to do this with my own plugins. How is this possible? Is every command that appears registered as its own Command plugin or is there a way to surface certain functions of a single plugin to this list?

    Here's an example of what I mean. Some of Octane's menu commands are showing up in Customize Commands. Did the developer register a unique Command plugin just to check for updates or is there another way of doing this?
    6273b81e-6ff1-4a4f-8f9c-508d096833a4-image.png

    Thank you!



  • Hi @blastframe, as you already found the only way to have them exposed in this Cstomize Command dialog is to register a new CommandData.
    Most of them are also register with the flag PLUGINFLAG_HIDEPLUGINMENU this way the command menu doesn't appear in the default Extension menu.

    Cheers,
    Maxime.



  • Unless something has changed in the SDK, I found this post which seems to answer my question.



  • Hi @blastframe, as you already found the only way to have them exposed in this Cstomize Command dialog is to register a new CommandData.
    Most of them are also register with the flag PLUGINFLAG_HIDEPLUGINMENU this way the command menu doesn't appear in the default Extension menu.

    Cheers,
    Maxime.



  • @m_adam Thank you, again, Maxime 😄


Log in to reply