How do I delete all text frames in framemaker using extendscript ?
Why on earth would you want to delete all text frames in a framemaker document ? I could tell you how to do it, but I am completely puzzled by what you are trying to achieve - what is the problem you are trying to solve ? If you want to delete all content, then why not delete the document itself, or create a new empty one (which, BTW, has text frames in it). Without any text frame, a framemaker is not really a document but a computer representation of an empty page that you cannot write anything on.