newFrame

Syntax: newFrame document, rect, linkedToPrevious

The newFrame command adds a new "frame" to the current page of the document, and makes it the "current" frame. Text and graphic items can be flowed into the current frame using the append and appendFile commands.

The linkedToPrevious parameter determines whether the contents of the previous frame will flow into the new frame once the previous frame is filled. When you create a new frame that is not linkedToPrevious, you can no longer append items to the previously "current" frame. Also note that you cannot link frames between the master page and a body page.