1 person found this helpful
Check out the scripting reference for your particular version of illustrator. I'm apparently behind a firewall that won't let me get to the page that has the reference guides for every illustrator version, but here's a copy for CC2014 (the DOM is pretty consistent across all versions).
check page 35 for all of the document properties.
Another option is to check the OMV (object model viewer) inside ExtendScript Toolkit. It's under the help menu, and you can search for any objects you want and see all of the available properties and methods.
Hope this helps.
@williamadowling Thank you very much for the info.
I verified the OMV that items of selection array is all subclass of PageItem.
It is followings. 4 items are new to me. I'll need to check more details.
- CompoundPathItem (new to me)
- LegacyTextItem (new to me)
- NonNativeItem (new to me)
- PluginItem (new to me)
- TextFrameItem (typename == TextFrame)
Thank you very much.