I would recommend reading some books while experimenting with code.
See e.g. this one in German language by Gregor Fellenz:
are there some books in english
3 people found this helpful
for ExtendScript in English I see Grant Gamble's book:
Or Peter Kahrel's book:
See also Jongware's:
For DOM documentation InDesign, InCopy and InDesign Server up to CS6
(also older versions of Adobe Illustrator, Adobe PhotoShop and FrameMaker):
Gregor Fellenz' DOM documentation:
If you want to gather your own DOM documentation—e.g. InDesign CC version 9 that is not covered above—see this:
Thanks , Uwe.
i will read them
Thanks for mentionining my DOM documentation.
Please not the link http://www.indesignjs.de/extendscriptAPI/indesign-latest/ to the latest version (for now 12 - CC 2017). In my opinion this is the link to bookmark, the versioned links will not update.