Author Topic: Autosave only for certain files  (Read 11622 times)

Offline pelya

  • Workaholic artist
  • ***
  • Posts: 108
Autosave only for certain files
« Reply #15 on: June 04, 2007, 07:31:24 »
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).

Offline LPChip

  • Administrator
  • *****
  • Posts: 5,125
  • Operating System: Windows 10 Pro x64
Autosave only for certain files
« Reply #16 on: June 04, 2007, 07:36:21 »
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