I've moved your thread from the general discussions into the scripting forum which seems more likely to produce the answers you want.
I didn't realize there was a scripting form.
Yes and yes.
Have a look here for CS6 http://www.adobe.com/devnet/indesign/documentation.html
and for the changes from CS6 to CC here: http://www.indiscripts.com/post/2013/06/so-what-s-new-in-indesign-cc-scripting-dom
Daniel (from Switzerland)
Here's a script that batch resaves files. You can use it to convert old InDesign documents to a newer version. Probably it would work with qxd-files Quark 3.3–4.1, but I don't have them to test it.
in addition to the links reported by Daniel Sterchi, below other useful addresses :