One of the hidden commands in the Praat menu of the Objects window. With this command, you add a button to the dynamic menu in the right half of the Objects window.
See Add to dynamic menu....
You can use this command in your initialization script or in plug-ins.
Normally, however, if you want to add a command to the dynamic menu, you would use the command Add to dynamic menu... of the ScriptEditor instead.
© ppgb 20230130