ScriptEditor to keep it's own log of used folders, please!

Hi, today I saved a version of a script that I have been working on for 3 days, and since ScriptEditor doesn’t keep track of it’s own last used folders I accidentally saved the new version in a wrong folder, making me think I lost todays work.

PythonEditor keeps track of it’s own used folders and I have used that for 10+ years, so it would be nice if you kept it’s logic or I am sure I will do this again.

This has been reported during the WIP phase too. Try this:

  • Open Rhino
  • Open ScriptEditor
  • Open a file in ScriptEditor (or save a file)
  • Open a Rhino file in Rhino, that is not stored in that same folder.
  • Go back to ScriptEditor and click saveAs or open, it will now navigate to the folder you opened a Rhino 3dm file from.

This can easily cause accidental saves like I just encountered.

At first I thought I had messed up and overwritten the file with an older version of a file on dropbox, due to an unsyncronized computer, so my heart droped a few beats, but then I found it because I remembered this old thingo :slight_smile:

2 Likes

@Holo Thanks for reporting. Got this fixed. The problem was that open and save operations in editor stored their own last directory. Now if you open a script from a directory, the next ‘save’ operation will also use the same directory, matching Rhino’s behaviour.

RH-84680 Use same last uri for Open and Save operations

2 Likes

Great, thanks for the quick fix! I look forward to the update.

RH-84680](https://mcneel.myjetbrains.com/youtrack/issue/RH-84680) is fixed in Rhino 8 Service Release 14 Release Candidate