forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Recovery function

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Jun 22, 2003 2:37 pm    Post subject: Recovery function Reply with quote

I was just making a nice file manager, when I made a wrong repeat loop, and all my coding was gone. After that I got the idea of letting VDS have a recovery function, just like Microsoft Word has. That way non-saved files could be recovered as well... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jun 22, 2003 3:11 pm    Post subject: Reply with quote

There is an auto-save function, save before run function, etc...

I have these enabled as well as I make backups of my code all along the
way... Smile

See if there's a *.~dsc file in the directory where you were working on
your script.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Jun 25, 2003 2:08 pm    Post subject: Reply with quote

Hi All,
VDS 5 deletes your *.~dsc files to the Recycle Bin. So even if you have made many many changes to your files a back up can be retrieved from the Recycle Bin. Of course this depends on how offten you have your PC set to purge the recycle bin Wink

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jun 25, 2003 2:14 pm    Post subject: Reply with quote

Yes I know, but I mean a function like that for file which aren't saved (yet). I often make the beginning of a program without saving, because I first want to look if it's a good idea... But sometimes things go wrong, and I lose my code... Sad If something like this happens with Word, it will automatic recover the text, if it is saved or not. This is what I want to see in VDS... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Jun 25, 2003 4:18 pm    Post subject: Reply with quote

Hi Skit,
It sounds like you want the Autosave like FF mentioned but it will not automaticly bring back up the text. Also if you are not saving as you go then I don't know how you have been able to get anything done Wink I never trust my PC or myself that well to think I could code something that is not going to break and take a chance at loosing stuff. Hmmmm maybe it is just me or where I live but here in America our PC's don't work that well Laughing I am always saving as I go and I was taught to do so.
I wander why M$ didn't put that feature in the IDE's for their languages. Well at least I have not seen it in them. It may be there and I just have not discovered it yet. I know that most IDE's make 2 copies of your source code as you work but I have never seen any that would automaticly try to restore from the backup when the IDE is reopened after a crash? It sounds like a cool feature though but even if it was implemented I would still not trust it and always save as I go.
IMHO that is a bad habit you have gotten into and very counter productive...

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Jun 25, 2003 4:22 pm    Post subject: Reply with quote

Perhaps Skit does it for kicks!!

Ya know, some people will go jumping off bridges, others will run red lights at 100 mph, and still others
may write a couple of hundred lines of code without saving and just press that "Run Script" button to see
if the code breaks.. Laughing Laughing

Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing


Last edited by Dr. Dread on Wed Jun 25, 2003 6:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Wed Jun 25, 2003 5:48 pm    Post subject: Reply with quote

I used to watch movies for that... Laughing
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jun 25, 2003 8:56 pm    Post subject: Reply with quote

Why not just write a VDS script to do this? Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Jun 26, 2003 7:55 am    Post subject: Reply with quote

Then I have to run that script every time I run VDS... Well, I'll just save until there is a good solution... Wink
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Jun 26, 2003 9:33 am    Post subject: Reply with quote

You could also create a small program that launches VDS and plugs into the IDE DDE interface. Then
you could make it issue a FILESAVE command every x minutes to a time-stamped filename of your
choosing. At close-down it could do some kind of householding, like deleting all but the 10 latest
saves for that project, zip 'em up etc.

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Jun 26, 2003 11:15 am    Post subject: Reply with quote

That's kind of what I was thinking: When you click the shortcut, launch
a VDS program that launches VDS.EXE and uses VDS 5's DDE capabilities
to auto-save it. I like your ideas Dr. Dread... perhaps we should make
this an open-source tool, and everybody can help develop it! Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group