How can I run a Locate Toolbar command from a script?

Is there a DOpus method or other "Toolbar Locate" command to show a toolbar's menu button location in a manner similar to the Preferences > Keys search feature, even if the button has no hotkey?

Additional Info:
Search: (Searches buttons with hotkeys)

Result: Visually animates the Toolbar Menu Button path and highlights found item.

There isn't a way to do that from a script.