Automatically "save layouts after folder changes or when tab are closed"

Autosave layouts after folder changes or when tab are closed, save the second layout after the folder has changed 10 times, and third layout at the 50 times.
Autosave-Layouts(v1.4).js.txt (2.2 KB)

3 Likes

thanks!

OnCloseTab doesn't seem to work as it should?

try to reproduce: open 3 tabs, close one, "crash" dopus (kill process in task manager)
restart dopus: 3 tabs show up including the closed one

now open 4 tabs, close 2 tabs, crash, restart: 3 tabs show up
like OnCloseTab is lagging one event behind?

It looks like the script can't change that behavior, the script just runs the command to save the layout.

1 Like