Favorite Maya workspaces and cycle through them with a hotkey
- Clone/download repo to anywhere on your machine
- Create dsWorkspaceToggle.mod in documents/maya/modules
- Add the following lines to it:
+ dsWorkspaceToggle 0.0.1 your/path/here/dsWorkspaceToggle
scripts: your/path/here/dsWorkspaceToggle
- To launch UI run following code:
import dsWorkspaceToggle
dsWorkspaceToggle.toggleUI.Dialog.display()
- Setting hotkey to a new button will not delete previous hotkey as Maya remembers it and saves to mel file on exit. Current solution: manually delete hotkey from mel file.
- No check for conflicting key with Shift modifier. (No check available? http://download.autodesk.com/us/maya/2011help/Commandspython/hotkeyCheck.html)