<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/11496280#M3300</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;This still seems to be an issue in Maya2022.3&lt;BR /&gt;Will use the workarounds for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 13:50:35 GMT</pubDate>
    <dc:creator>nathan.guttridge</dc:creator>
    <dc:date>2022-10-20T13:50:35Z</dc:date>
    <item>
      <title>Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10769737#M3274</link>
      <description>&lt;P&gt;So in Maya 2022.2 Autodesk has added a new file C:\Users\user\Documents\maya\2022\prefs\scriptEditorTemp\scriptEditorTabPrefs.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This file now contains the script editor tabs, but not their contents, if Maya crashes you lose any tabs you've created. I had previously created a script that saves these tabs any time you want, but now that they've changed the file my script no longer works I lose my work all the time. Does anyone know what mel command to use to write this file out?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 21:47:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10769737#M3274</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-19T21:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10769747#M3275</link>
      <description>&lt;P&gt;And the answer is for Maya 2022.2 only use this saveScriptEditorTabs();&lt;/P&gt;&lt;P&gt;Otherwise all your script editor tabs will be deleted if you use the command for previous versions of Maya.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 21:54:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10769747#M3275</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-19T21:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10774001#M3276</link>
      <description>&lt;P&gt;There is also a new menu item for this: Script Editor &amp;gt; File &amp;gt; Save All Scripts Tabs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 16:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10774001#M3276</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2021-11-22T16:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10774511#M3277</link>
      <description>&lt;P&gt;Dang, didn't even see that. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 19:30:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10774511#M3277</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-22T19:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10785919#M3278</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1220770"&gt;@brentmc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still losing my work regularly, but I can't track down the bug. If I run my save preferences script and then crash Maya everything is fine and the script editor tabs are preserved, but after I work for a couple days and I'm not paying attention I'll open Maya and all my tabs will be gone and I'll have the default Python tab with a bit of my mel code in it from several days past. Is there a bug on Autodesk's side here, or am I calling the wrong command to save the tabs in 2022? I see there's no echo print out for the new file menu entry so any suggestion would be helpful.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Nov 2021 01:07:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10785919#M3278</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-28T01:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10786325#M3279</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can confirm this issue.&lt;/P&gt;
&lt;P&gt;I have several MEL and Python tabs open and at least every 24 hours when starting Maya 2022.2 they have been reverted to just the 2 default tabs.&lt;/P&gt;
&lt;P&gt;For now I set the "scriptEditorTabPrefs.txt" to read-only, it's not a perfect solution, but it saves me a lot of time.&lt;/P&gt;
&lt;P&gt;There is definitely something not working correct since using the new scriptEditorTabPrefs.txt file.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Nov 2021 11:09:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10786325#M3279</guid>
      <dc:creator>mspeer</dc:creator>
      <dc:date>2021-11-28T11:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10786786#M3280</link>
      <description>&lt;P&gt;Thanks for confirming, please let us know if you ever figure out how to repro it. I'm keeping an eye on it, but I can't figure out the steps that cause it.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Nov 2021 18:33:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10786786#M3280</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-28T18:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10788499#M3281</link>
      <description>&lt;P&gt;Thanks. I've pinged the dev who worked on this to see if they have any ideas.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 16:17:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10788499#M3281</guid>
      <dc:creator>brentmc</dc:creator>
      <dc:date>2021-11-29T16:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10788720#M3282</link>
      <description>&lt;P&gt;Thanks for bringing this issue to our attention. I'm trying to reproduce the issue on my end. If you do come up with some steps please post them.&lt;/P&gt;&lt;P&gt;-Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 17:54:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10788720#M3282</guid>
      <dc:creator>brian.kramer</dc:creator>
      <dc:date>2021-11-29T17:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789091#M3283</link>
      <description>&lt;P&gt;A couple questions for you that may help me figure out the problem.&lt;/P&gt;&lt;P&gt;1) Do you switch between 2022.2 and 2022.1? Or are you solely running 2022.2 now?&lt;/P&gt;&lt;P&gt;2) When it happens have a look in your .../2023/prefs/scriptEditorTemp directory. You should see commandExecuter files that contain the contents of each tab. There should be one for each tab in the Script Editor that is not linked to an external file. I'm curious if these are being removed.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-b&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 20:32:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789091#M3283</guid>
      <dc:creator>brian.kramer</dc:creator>
      <dc:date>2021-11-29T20:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789118#M3284</link>
      <description>&lt;P&gt;1. I switch between 2017, 2018, 2019, 2020, and 2022.2, but as far as I know after installing the update there is no 2022.1 left on my machine.&lt;/P&gt;&lt;P&gt;2. I can't remember, I'm watching that folder constantly now so I'll let you know as soon as I lose my work again.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 20:50:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789118#M3284</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-29T20:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789196#M3285</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10239521"&gt;@brian.kramer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Maya 2022.2 only ( I doubt you can have Maya 2022.1 and Maya 2022.2 installed on the same system?!).&lt;/P&gt;
&lt;P&gt;As far as I remember only the scriptEditorTabPrefs.txt is changed at first, however after starting with the changed scriptEditorTabPrefs.txt only the 2 default tabs show up and when then again closing Maya the non-default commandExecuter files will be removed.&lt;/P&gt;
&lt;P&gt;That's why my workaround by setting the scriptEditorTabPrefs.txt to read-only works very well for me.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 21:27:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789196#M3285</guid>
      <dc:creator>mspeer</dc:creator>
      <dc:date>2021-11-29T21:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789207#M3286</link>
      <description>&lt;P&gt;But don't you then also need to set it to writable each time you want to add a new tab?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 21:33:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789207#M3286</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-29T21:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789266#M3287</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's correct, but I have so many tabs open that I don't need any new tabs.&lt;/P&gt;
&lt;P&gt;I use a constant amount of tabs since several years.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 21:59:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789266#M3287</guid>
      <dc:creator>mspeer</dc:creator>
      <dc:date>2021-11-29T21:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789342#M3288</link>
      <description>&lt;P&gt;Ah yes I see, ha ha. Well I went a different route for fun, I wrote a script that copies the tab.txt and the commandExecutor files to a back up folder so next time it disappears I can see it happen, but still have my tabs I hope.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 22:39:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789342#M3288</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-29T22:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789377#M3289</link>
      <description>&lt;P&gt;I believe I know what the problem is and I'm working on a solution.&lt;/P&gt;&lt;P&gt;For the time being, saving/restoring of the Script Editor tabs works best if the Script Editor has been open at some point during your Maya session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 23:04:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789377#M3289</guid>
      <dc:creator>brian.kramer</dc:creator>
      <dc:date>2021-11-29T23:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789391#M3290</link>
      <description>&lt;P&gt;Oh good to know, I'll try closing it while working today and see what happens.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 23:13:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10789391#M3290</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-29T23:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10791883#M3291</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10239521"&gt;@brian.kramer&lt;/a&gt;okay so I just opened the script editor today and all my tabs are gone. As you suggested I worked in Maya for a couple hours yesterday without opening the script editor, I closed Maya and everything looked fine in the scriptEditorTemp folder. Today I worked for 20 minutes in Maya and then opened the script editor using the icon near the bottom of Maya. Upon opening my tabs are gone, here's a screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the scriptEditorTabPrefs.txt has reverted itself to default. The commandExecutor files appear to be saved, but here's the gotcha of this bug when I close the script editor in 2022.2 it automatically runs the new tabs save feature and I lose all my work. So not only is there a bug that you lose your tabs, but by design the tabs feature destroys your backup leaving you with nothing next time you open the script editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="malcolm_341_0-1638305363184.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/995481iA08233F8362C826F/image-size/large?v=v2&amp;amp;px=999" role="button" title="malcolm_341_0-1638305363184.png" alt="malcolm_341_0-1638305363184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 20:53:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10791883#M3291</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-30T20:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10791916#M3292</link>
      <description>&lt;P&gt;Sorry for the misunderstanding, but what I was trying to say was for every session of Maya you should also open the Script Editor. You can close it afterwards if not needed but if you leave it open then Maya will automatically open it&amp;nbsp; the next time you run Maya. The important part is the Script Editor is opened each time you run Maya.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically,&lt;/P&gt;&lt;P&gt;- Run Maya&lt;/P&gt;&lt;P&gt;- Immediately open the Script Editor.&lt;/P&gt;&lt;P&gt;- Leave it open and it will be reopened next time you run Maya. Or close it, just be sure to open it next time you run Maya.&lt;/P&gt;&lt;P&gt;- Model, animate, render, repeat.&lt;/P&gt;&lt;P&gt;- Quit Maya&lt;/P&gt;&lt;P&gt;- Back to the first step.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 21:13:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10791916#M3292</guid>
      <dc:creator>brian.kramer</dc:creator>
      <dc:date>2021-11-30T21:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Maya 2022.2 where is the command the creates the file scriptEditorTabPrefs.txt</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10792018#M3293</link>
      <description>&lt;P&gt;Can I open it via a mel script, or do I need to use the UI?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 21:59:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/maya-2022-2-where-is-the-command-the-creates-the-file/m-p/10792018#M3293</guid>
      <dc:creator>malcolm_341</dc:creator>
      <dc:date>2021-11-30T21:59:44Z</dc:date>
    </item>
  </channel>
</rss>

