I am having a problem using activeDocumentIdx in a script. I have uploaded the files that illustrate the problem (already deleted), reduced to the minimum I could create that shows it. My sample script loops opening two files, moving the cursor to the beginning of one file, then closing the files; then repeat on another pair of files. The script foo1.js exhibits the problem; the script foo.js has the opening and closing of one of the files commented out and it goes through the loop just fine. The interesting thing is that the foo1 script succeeds the first time through the loop and fails the second iteration.
I am running version 16.00.0.1038 under W7.
Any insights?
Thanks!
I am running version 16.00.0.1038 under W7.
Any insights?
Thanks!