| View previous topic :: View next topic |
| Author |
Message |
Mickey0815 Newbie

Joined: 12 Oct 2004 Posts: 2
|
Posted: Tue Oct 12, 2004 10:50 am Post subject: Looking for Advanced Autosave Feature / Macro |
|
|
Hi !
Whle Writing some really important and long texts i manually save every 10-30 Minutes the file i am working at in this way: "filename_date_time.sxw".
i do it this way for 3 reaasons:
1. Openoffice crashes once in a while and i don't want to lose too much of my work
2. I sometimes intentionally or unintentionally delete or chance some text that i need back a few minutes/hours/days later. if this happens, i just open the older Versions of the File and have my old text back.
3. when i unintentionally delete the file or it is corupt for whatever reason i still have several older versions and don't lose too much work.
that is the reason why i can't really use the build-in autosave function.
Is there an easy way to upgrade the autosave function to save the file with a different filename on each autosave ("filename_001.sxw" "filename_002.sxw" and so on would work too...)
or is it possible to write a macro that does this ???
i know that i get a lot of files when i do that automaticly, but so what... i prefer having a lot of files in a backup folder than losing my work !
Thanks a lot !
Mickey |
|
| Back to top |
|
 |
SergeM Super User

Joined: 09 Sep 2003 Posts: 3211 Location: Troyes France
|
|
| Back to top |
|
 |
Mickey0815 Newbie

Joined: 12 Oct 2004 Posts: 2
|
Posted: Wed Oct 13, 2004 6:09 am Post subject: |
|
|
thanks for the quick answer.
i found out how to "autosave" with a button (did it already) but the "every x minutes" functionality would be the thing that makes it really useful..
anyway.... thanks for the answer !
Mickey |
|
| Back to top |
|
 |
Cybb20 Super User


Joined: 02 Mar 2004 Posts: 1569 Location: Frankfurt, Germany
|
Posted: Wed Oct 13, 2004 8:51 am Post subject: |
|
|
There are certainly some things you can do about it.
For example you have the Starbasic function GetSystemTicks() and 1 tick is 1/10 000th of a second I think.
I think DannyB can say much more about timing, hopefully he will join in on this discussion.
Christian _________________ - Knowledge is Power - |
|
| Back to top |
|
 |
|