
Stephen C. answered 07/10/19
Tutor
5
(2)
SAT Math, Algebra, Trig, PreCalc Tutor
InDesign 'objects' are not normal JavaScript objects. You cannot just stuff your own properties into them.
You would undoubtedly get a more complete answer if you post the question to the Adobe InDesign Scripting Forum.