You can customize the Hypershade so that the Script Editor appears as a tab in the Hypershade window. This tab is not retained in the Hypershade past the current instance of the Hypershade. While your Script Editor is in the Hypershade, it cannot be opened separately.
setParent hyperShadePanel1Window|TearOffPane|hyperShadePanel1|mainForm|mainPane|createBarWrapForm|createAndOrganizeForm|createAndOrganizeTabs; $layOut1 = `paneLayout -configuration "single" "scriptEditor"`; setParent $layOut1; control -e -p $layOut1 scriptEditorPanel1Window;
setParent MayaWindow|formLayout1|viewPanes|hyperShadePanel1|mainForm|mainPane|createBarWrapForm|createAndOrganizeForm|createAndOrganizeTabs; $layOut1 = `paneLayout -configuration "single" "scriptEditor"`; setParent $layOut1; control -e -p $layOut1 scriptEditorPanel1Window;
This example illustrates the flexibility of Maya with QT, and is provided for the convenience of advanced users who may want to customize the example for their own purposes. However, the use of this example is not a supported workflow within Maya.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License