Easy auto-save script

Easy auto-save script

Anonymous
Not applicable
1,152 Views
3 Replies
Message 1 of 4

Easy auto-save script

Anonymous
Not applicable
Hi all, i was wondering if it is possible to generate a script that is perhaps included in the acaddoc.lsp file (or whichever one loads at startup) that is a simple timer...waits approx 5-7 minutes then auto-saves a drawing...thus forcing the employee to save regardless of whether they want to or not. this is in effort to combat employee's becoming over reliant on the auto-save feature.... i have studied the wording and in Autocad 2014 it states: "Automatic save, 10 minutes between saves" and this must mean that this autosave feature only works AFTER an initial save has already completed... instead of working the way it seems "automatically saving the document every 10 minutes" I would like to write a script that basically forces a save approx 5, 7 or 10 minutes... since i know that lisp may not be able to be specific enough to wait until the user has generated meaningful drafting, a simple timer that assumes when a user launches cad they will have done SOMETHING within the first 5-10 minutes should be adequate to combat the employees who work for 2-3 hours pushing cad until it crashes then freak out when they cant recover their file that they never bothered to save. Any help would be greatly appreciated as LISP is not my primary language.
0 Likes
1,153 Views
3 Replies
Replies (3)
Message 2 of 4

dgorsman
Consultant
Consultant

That cannot be done with LISP.  Its also problematic with other methods, because then it needs to consider if its in the middle of a command or not.

 

The past experiences should have been painful enough to get the users saving regularly.  If they don't then its either more pain or out the door for not following basic procedures.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes
Message 3 of 4

scot-65
Advisor
Advisor
You know, I was just thinking out loud...

A command-ended reactor might get one an annoying alert
dialog box when one does not save at regular intervals
(commands are not allowed inside a reactor). Yes, annoying.

Then of course another command reactor to detect save, saveas,
qsave etc. to reset the timer.

And finally a timer interval stored somewhere (registry, setcfg), that
has a range for the users to select from...

*untested*
???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 4 of 4

Kent1Cooper
Consultant
Consultant

Search these Forums -- this and very similar requests have come up several times before.

Kent Cooper, AIA
0 Likes