Posted by
idosoftware
19 years ago
13:19
|
OK, here is what I think could be done. When you start memento, you create a memento0.notes for writing. Any new instance of memento checks for a memento0-[99].notes file, and if it exists, new data would be written to a memento0-[99].notes file (memento2,memento3, etc.) Every minute during update, you would read memento0-[99].notes and append memento.notes, and then delete the contents of the respective memento0-[99].notes files. If a duplicate item is in both memento.notes and a memento0-[99].notes file, then the memento.notes copy would be overwritten. You could have a setup toggle to ask if the user wants a confirmation box to appear before overwrite. On exit, you would delete the respective memento0-[99].notes file. This would allow multiple users or workstations to update memento. If you could do this, I wouldn't need the command line feature, and you would be able to afford multiple users. Think of a secretary posting a note on the bosses computer.
|