<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:arial, sans-serif;">I'm trying use importPage() to replace selected pages with pages from another document, but the document I'm importing from uses a text frame chain. It seems that since the text in the other document is associated with a frame chain and not with any particular frame, I'm not able to import a page from somewhere in the middle of the other document and get in my new document the text that would show in that page of the other doc. As far as I can tell from the XML it's not stored in the .sla what text is in each frame, but all the text of the entire chain is just stored as a single piece of text.<br></div><div style="font-family:arial, sans-serif;"><br></div><div style="font-family:arial, sans-serif;">I'm thinking of opening the other document, using getFrameText() to copy from the desired page of the other document, then using insertText() to paste into my new document, But each page could have multiple frames to copy and paste from, so that's more complex than a page import. I'm wondering if there's some way to do this at the page level, without looping over all the objects on a page.</div><div style="font-family:arial, sans-serif;"><br></div><div style="font-family:arial, sans-serif;">Thanks.<br></div><div style="font-family:arial, sans-serif;"><br></div><div style="font-family:arial, sans-serif;"><br></div><div id="sig49496385"><div class="signature">--<br></div><div class="signature"><br></div><div class="signature"> Matt Miller<br></div><div class="signature"> mailto:matt.miller@fastmail.com<br></div><div class="signature"><br></div></div><div style="font-family:arial, sans-serif;"><br></div></body></html>