Hi Miro,
I will explain in steps.
1. I have N documents in one instance of Notecase, each with a note that has many large embedded images, each on it's own line. There is also text on it's own line under each image followed by a blank line. Following this, there is another image on it's own line, followed by text on it's own line, and then a blank line. This goes on for approximately 100 lines.
2. I go to a specific line in each documents to add more data. For example, the last line.
3. When I get more data to add, it goes into only one of the documents, so I have to constantly switch between the documents.
4. When I switch between documents, my edit cursor remains in the correct position, but the location of the view is not calculated correctly, so it is usually much higher up in the document. As an example, if my edit cursor is on line 100, when I switch back, the view might be only on line 80 (for example). I then need to use the scroll bar to move down to the bottom to see where I wanted to add the data.
If I enable multiple instances of Notecase, then I can open each document in a separate instance so I can switch between them without disturbing the view of where I am. This makes this workflow easier.
I scripted (in Linux) the opening of these documents in Notecase, each in it's own instance. This is done iteratively, so I put a small delay between the opening of each document to give me time to enter the password for that document. This works on my main computer. But I have a little (low power) laptop that I take with me. On the little laptop, some documents open in their own instance while others bunch up into one instance. On both computers, I have the Notecase single instance set to off, so there can be multiple instances.
There's probably a better workflow, but this is what has evolved. ;)
At any rate, I don't know if my explanation is clear, but with this workflow, being able to open the files from password files, rather than embedding passwords in a script, or typing them in by hand, would be more convenient.
I'm not exactly sure why opening multiple instances works better on one computer and not fully on the other. I might have a slightly older version of Notecase on my main computer and the newest version on the laptop. I'll check on that.
As a side note, in this script, before I start opening Notecase instances, I replace the notecasepro.ini file with one with no recently opened documents set so Notecase won't re-open the documents it last used.
Let me know your thoughts on this,
John
Ps: One other question, if I set LastPictureDoNotAskResize to 1 in the app (usually by accident), is there a way to undo this without stopping the app, editing the config file, and restarting?