Loving the recent developments. Thanks!
Can you please tell me what do you do to have that error ? I'd like to try to reproduce it as it seems to work for me.
It's a weird one. After posting my previous message, auto-collapse was enabled and mostly functional, but I am still getting crashes.
I have recorded a video screencapturing the behaviour since it's much easier to demonstrate than try to explain, but I'll try to explain as well: the script crashes when opening specific folders directly after other specific folders (e.g. opening "Unsorted" after "Main", or "Formats" after "Stuff I'm doing" as shown in the video), then when I reload the script, the folder I previously selected to open is open as intended. Basically it's crashing but then once reloaded it's resolved, so no actual loss of function. I just can't find rhyme or reason for it. The error code given is different to what I quoted before but similar, so probably part of the same issue (and the error code stays the same regardless of which folder caused the crash):
Unable to get property 'pl' of undefined or null reference
Line: 59, Col: 3