[Scripting] Document.findObject() incorrectly targets activeDocument
System: Indesign 18.4, MacOS 13.4.1
To reproduce:
1. Open two documents, each with a filled frame 100% tint.
2. Run attached script "findObject bug.js"
3. Note the console output.
4. Refer to this forum post for notes and commentary.
Expected result:
doc.findObject() will return found items from both open documents.
Actual result:
doc.findObject() returns only items from active document.
Note that using app.findObject() is not a viable workaround in some cases, such as the issue in this post.
4
votes
Anonymous
shared this idea