This tool will read the entire menu bar from Mayas main window and makes those command accessable for searching. This means that menus from custom plugins will also be taking into account. This way you either minimize the mouse miles made, search for commands you didn't even know existed or forgot where they were located.
This script should work from Maya 2014 and up as it uses PySide.
Feedback is always welcome :).
I N S T A L L A T I O N:
Copy the "rjCMDSearch.py" to your Maya plugins directory:
U S A G E:
Add the interface and functionality to Maya:
import maya.cmds as cmds
cmds.evalDeferred( "import rjCMDSearch; rjCMDSearch.install()" )
N O T E:
Every time the UI is opened for the first time in a new session of Maya, the script loops over all of Mayas MenuBar content to retrieve all of the its information and store it in an easy accessible format. Since its over 1600 buttons, this process will take a few seconds. Its best to add this script to the userSetup.py so the interface will automatically be added to Maya when it is started.
The commands can always be refreshed by clicking on the magnifying glass button.
The script now also tries to install a hotkey on the Ctrl + Alt + Space combination. If there is already a hotkey on this combination the hotkey will not be installed. This hotkey will set the focus to the search command and open the menu if there are any matches.
It is also possible to store your pins and create different pins sets for different tasks, meaning you can create your own costum menu. This functionality can be accessed by clicking the magnifying glass button.
A thank you to Perry Leijten and Guillaume Dufief for their ideas and pointers to improve the script.
Also tested in Maya 2017