Please add id support for each page element as we have in Indesign. It helps a lot in Illustrator scripting.
WHat I think when we do scripting for elements, we should have a unique id for each element. SO it will be easy for developer to access the element using is instead of name
Charu shared this idea