Autosave only for certain files

Started by Saga Musix, April 11, 2007, 21:03:56

Previous topic - Next topic


The best option for me is the list of directories.
The flag inside file may also contain the name of currently logged Windows user, so if it doesn't match autosave disabled. Some kind of alternative is to check file creation and modification time - the first one should be greater if you saved the file at least once from MPT, and lesser if you copied the file to different path. If the file is copied to a friends in archive the archiver will set file's original date and time (WinRar does), so you should copy the file to another place before archiving it. That method will also work on all file formats :) .
The differential autosave will be headache definitely :wink: (at least until MPT code will contain general undo mechanism).


Indeed. I guess that checking if a file is inside a directory is the best way.

I don't need auto save for all files anyway. I have one big working directory and when a song is finished, I move the file to another directory anyway.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs