Posted by
idosoftware
19 years ago
February 2, 2005
21:21
|
I wonder if the program could be executed from a command line so that we could pass an argument to it from another program and create a note. Also, I was testing the command line with memento and noticed the program would run multiple copies of itself. Is there a way you could make the program check whether it is already active or not?
Reply
|
Posted by
idosoftware
19 years ago
February 3, 2005
15:08
|
I would be willing to contribute some coin for this change.
Reply
|
Posted by
idosoftware
19 years ago
February 5, 2005
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.
Reply
|