saving script editor tab info ( prefs?)

383 views
Skip to first unread message

stephenkmann

unread,
May 24, 2011, 11:25:22 AM5/24/11
to maya...@googlegroups.com
This just came up, and maybe someone knows an answer.

you know how the script editor will keep the info saved in it from maya session to maya session.
we thought saving prefs was a sure bet to keep that information ( as sometimes you crash, and lose your script)
but apparently hitting the save prefs, does not save that info,
anyone know what is run to save that info out? its run when you close maya...

thanks

-=s

--
stephe...@gmail.com
http://smannimation.blogspot.com/
http://nymayausersgroup.blogspot.com/

erdinc

unread,
May 24, 2011, 12:57:15 PM5/24/11
to maya...@googlegroups.com

savePrefs;       // updates  -- >   ../prefs/userPrefs.mel  

string $scriptEditor = `getPanel -wl "Script Editor"`; 

removeScriptEditorPanel $scriptEditor;  // updates -- >  ../prefs/scriptEditorTemp/"CommandExecuter" files 

stephenkmann

unread,
May 24, 2011, 4:47:54 PM5/24/11
to maya...@googlegroups.com
cool,
from that I was able to hunt down this...


syncExecuterBackupFiles();

which seems to do exactly, and only what  I want.

thanks !

 -=s
Reply all
Reply to author
Forward
0 new messages