WWW.DUGOSAURUS.COM

Resources: LW Lscripts

Incremental Saver

Download version 1.0 (IncSave.lsc)

This is a very simple incremental saver for Modeler. Run it when an object whose name ends in ## is active, and Incremental Saver will "Save As" with ## incremented by 1. For example, if "my_object_05.lwo" is the current object, Incremental Saver will do a Save As to the same directory, with a new name "my_object_06.lwo".

Incremental Saver will not overwrite an existing file. For example, if a file "object02.lwo" exists and you run Incremental Saver on "object01.lwo", you will get an error message stating "increment already exists".

WARNING: DO NOT run this LScript on an untitled object, as it will then try to do a Save As on another object (if any others are open).

Weirdness Note: I compiled this LScript because I couldn't add the uncompiled version as a plugin without Modeler crashing (LW6.5b). Weirdness. If you want the code, email me...

Note: I like to name my objects using two 2-digit numbers. For example, my_object01_01. For minor changes, I increment the second pair using Incremental Saver. For major changes, I increment the first pair using "Save As".

Tip: Storage is cheap, lw objects are small, why Save when you can Save As?

I take no responsibility for any grief these Lscripts may cause you and make no warranty regarding their effectiveness.

dug@dugosaurus.com