1 person found this helpful
myDoc = app.open(File("/somepath/hugo.indd"));
Thanks a lot.
Finally, I solved this problem.
In Indesing 2.0 open method belongs to Document Object.
But In ID CS4, it belongs to Application Object.
It is a hard work to check all different between ID 2.0 and ID CS4.
Right now, I still to find out how to add a line in ID CS4.
That's a huge step! (Generally in forward direction, one might hope )
Basic adding lines and bossing them around is covered in this msg: http://forums.adobe.com/message/2512322#2512322
... And there is always my own interpretation of the ESTK Help. Not a programming guide, but you can search the entire programming model for "open", and inspect all objects it applies to.