Thank you Ivan,
An autosave from the OSX is only saving when quitting the app or exiting the OS, or not?
Otherwise an autosave could not be observed here, yet.
save document i in file (my createAfile()) delay 1 # to be sure to use a different name I don’t think a file needs to be created, it’s always for already named files (should have said that!). Excuse me, but for what should i "use a different name.”
/ with best regards, Omar K N Stockholm, Sweden
Hello
If your file has already a "true" name, it’s that it was already saved once — which means that it’s already existing in a file. In this case there is no need to ask explicitly the system to save it.
The System's Autosave feature will apply after every changes when you will be let the processor free — when you will think to what you want to add-remove-change.
This said, I continue to use cmd + S from time to time to force the system to "save a version" which is completely different than Autosave. The standard behavior of Versions is to apply : (1) when you close the document (2) every hour — starting from the document opening in the current working session As the stored versions may be life savers when a document is corrupted — and believe me it's not rare — I force the recording of such a version by typing command + s from time to time.
For those which don’t know what Versions does, just few words : it store the changes applied to a document in a hidden folder named .DocumentRevisions-V100 at the root of the device in which the standard file is saved. The standard use of these versions is to allow us to restore the document in a precedent state if we feel that last changes are bad ones.
My own use, is to extract them when a file is corrupted. I am asked about once a week by users whose documents are corrupted. In such case — big Apple's failure — we have no official GUI allowing us to extract the versions because the official one is from a menu available when the document is open. This is why I wrote a set of scripts which: (script 1) make a copy of the .DocumentRevisions-V100 folder which we will be able to enter without no odd effects. The original folder is supposed to be corrupted when the system discover that something was changed by somebody-something which is not him. (script 2) decipher the database describing the contents of the folder (script 3) navigate in the folder to extract the version which we think that it's the best one to revive.
Yvan KOENIG (VALLAURIS, France) samedi 13 septembre 2014 10:15:59
|