http://www.creativecrash.com/maya/script/maya-timeline-marker
This other script lets you reset window positions if you work in a different workstation setup at home, especially with multiple monitors. Usually if you just transfer from setup to setup, window positions are saved in the file and your outliner or graph editor might be stuck on a "second monitor" that doesn't exist.
string $openWindows[] = `lsUI -windows`;
for ($i=0; $i < size ($openWindows);$i++)
{
if ($openWindows[$i] != "MayaWindow" && $openWindows[$i] != "scriptEditorPanel1Window")
{
deleteUI $openWindows[$i];
windowPref -remove $openWindows[$i];
}
{
if ($openWindows[$i] != "MayaWindow" && $openWindows[$i] != "scriptEditorPanel1Window")
{
deleteUI $openWindows[$i];
windowPref -remove $openWindows[$i];
}
}
http://mayafeedback.autodesk.com/forums/160518-small-annoying-things-to-fix-in-maya-forum/suggestions/2971473-reset-hidden-windows-after-monitor-configuration
No comments:
Post a Comment