In case: http://www.chrisevans3d.com/pub_blog/reminder-maya-saves-scripteditor-tabs-crash/
On Sat, Sep 16, 2017 at 5:21 PM, justin hidair <[email protected]> wrote: > Charcoal editor which I use , saves the buffers before compiling , and > also as an auto-save feature that I don't use because It's rumored to in > some cases delete the files/buffers contents > > 2017-09-14 19:51 GMT-07:00 jettam <[email protected]>: > >> This is good to know, thanks.. >> >> >> On Thursday, September 14, 2017 at 4:41:17 PM UTC-7, Michael Boon wrote: >>> >>> If you're doing something you suspect might crash Maya, you can save the >>> Script Editor without closing Maya, like this: >>> # Save contents of Script Editor >>> import maya.cmds as cmds >>> import maya.mel as mel >>> cmds.savePrefs(general=True) # This saves tab names, among other stuff. >>> mel.eval('syncExecuterBackupFiles') # This saves tab contents. >>> >>> >>> >>> On Thursday, 14 September 2017 19:54:15 UTC+10, simon payne wrote: >>>> >>>> This is not entirely true. Your script editor remp files are stored in >>>> [usr]/docs/maya/maya-20xx/prefs/scrptEditorTemp/ >>>> The files can be openned in any text editor. Sometimes, because of >>>> multi sessions of maya at the same time or re-installs, the scripts you >>>> were working on can be found in there even though they do not auto load >>>> into maya's script editor. >>>> >>>> Also, in your [usr]/windows/temp dir you can often recover script temp >>>> files from there that are not in your scriptEditorTemp dir or were not >>>> commited by saving prefs or clising/opening mayas script editor following a >>>> crash. >>>> >>>> Simon >>>> >>>> Sent from my iPhone >>>> >>>> On 14 Sep 2017, at 08:42, Simon Anderson <[email protected]> wrote: >>>> >>>> Like Marcuss mentioned, its gone for good. I try dev in an IDE and then >>>> just import and refresh the module in Maya. That way you dont get caught >>>> out by Maya not playing nice. >>>> >>>> On Thursday, 14 September 2017 15:24:38 UTC+10, jettam wrote: >>>>> >>>>> Well since I'm learning, this will only make me stronger Muwhahahaha!! >>>>> >>>>> On Wednesday, September 13, 2017 at 10:20:38 PM UTC-7, Marcus Ottosson >>>>> wrote: >>>>>> >>>>>> As far as I know, no it doesn't. :( It's bitten me many times as >>>>>> well. I don't think you can even copy the text, have Maya crash, and then >>>>>> paste it back. It'll go ahead and wipe the copy-buffer for you. It's out >>>>>> to >>>>>> get you! >>>>>> >>>>>> On 14 September 2017 at 05:51, jettam <[email protected]> wrote: >>>>>> >>>>>>> If maya crashes is their a way to recover the work that I have done >>>>>>> in the script window ? Like does it save it in a temp folder somewhere >>>>>>> ? >>>>>>> >>>>>>> >>>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Python Programming for Autodesk Maya" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit https://groups.google.com/d/ms >>>> gid/python_inside_maya/9f82d1cb-d015-47f7-a09f-c6c3fb1eaf20% >>>> 40googlegroups.com >>>> <https://groups.google.com/d/msgid/python_inside_maya/9f82d1cb-d015-47f7-a09f-c6c3fb1eaf20%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/python_inside_maya/82469a57-0980-4aa0-9113-5ee9b994cc83% >> 40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/82469a57-0980-4aa0-9113-5ee9b994cc83%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/python_inside_maya/CAHJS-06OTZCNLBuS_2tYVXzTxDS_ > TQfT0--MMW%2B9AE4Mk-pa4A%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAHJS-06OTZCNLBuS_2tYVXzTxDS_TQfT0--MMW%2B9AE4Mk-pa4A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Sebastian Schoellhammer w <http://www.sebscorner.org>ww.mokumedia.de <http://www.mokumedia.de> -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAMLepcavoaOdJZ%3D4HSZE9GT1%2BMeDr92X7GwZDjzK%3D9TCggAaMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
