<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Place file with autoflow</title>
    <link>https://forums.adobe.com/community/indesign/indesign_scripting?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Tue, 08 Oct 2013 16:09:09 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-10-08T16:09:09Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5744810?tstart=0#5744810</link>
      <description>&lt;!-- [DocumentBodyStart:c59182a3-0f26-4919-a322-920b4036c0df] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Anshul,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for your helpful response!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I agree that it appears to be a bug. The only way I can get it to work (either through scripting with JavaScript or in my VB.NET program using the CS6 type library) is by setting the application document preferences for createPrimaryTextFrame to true. For now, that's the way I'll have to go in order to proceed with my development.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for your help!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dan&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c59182a3-0f26-4919-a322-920b4036c0df] --&gt;&lt;img src='/beacon?t=1415905842602' /&gt;</description>
      <pubDate>Tue, 08 Oct 2013 16:09:09 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5744810?tstart=0#5744810</guid>
      <dc:date>2013-10-08T16:09:09Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5744144?tstart=0#5744144</link>
      <description>&lt;!-- [DocumentBodyStart:2d2748f2-7061-4524-96a2-67e954a9b698] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Dan,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am also not able to set primaryTextFrame proeprty of master spread, this seems like a bug.&lt;/p&gt;&lt;p&gt;But for your workflow you may chose some workarounds like either set application's primary text frame property as true so that new documents will have primary text frame in it.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;app.documentPreferences.createPrimaryTextFrame&amp;nbsp; = true&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Other is if you do not specifically want smart text reflow to work only with primary text frame then you can turn it on for normal text frames by unchecking '&lt;span style="font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;Limit To Primary Text Frames'.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;&lt;strong&gt;app.activeDocument.textPreferences.limitToMasterTextFrames = false&lt;/strong&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;-Anshul&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2d2748f2-7061-4524-96a2-67e954a9b698] --&gt;</description>
      <pubDate>Tue, 08 Oct 2013 12:12:29 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5744144?tstart=0#5744144</guid>
      <dc:date>2013-10-08T12:12:29Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5742526?tstart=0#5742526</link>
      <description>&lt;!-- [DocumentBodyStart:48acd9f3-3e86-4f43-9907-630dfcc94f60] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Anshul,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don't know if it helps in getting a solution to my problem, but I have recreated the same scenario in a JSX script:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;for (var i = 0; i &amp;lt; doc.masterSpreads.length; i++) {&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var j = 0; j &amp;lt; doc.masterSpreads[i].pages.length; j++) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with (doc.masterSpreads[i].pages[j]) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var curFrame = textFrames.add();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (j == 0) {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doc.masterSpreads[i].primaryTextFrame = curFrame;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the line that contains primaryTextFrame, I get the same error: Invalid object for this request.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:48acd9f3-3e86-4f43-9907-630dfcc94f60] --&gt;</description>
      <pubDate>Mon, 07 Oct 2013 20:04:34 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5742526?tstart=0#5742526</guid>
      <dc:date>2013-10-07T20:04:34Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5741588?tstart=0#5741588</link>
      <description>&lt;!-- [DocumentBodyStart:696439f4-7c9e-428a-877c-c0aece117c43] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Anshul,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you for your response! That's very helpful.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm trying to set the PrimaryTextFrame property in my VB.NET program. I have a simple document with one master spread A with left and right pages. On each of those pages I define a new text frame. I'm trying to set the master spread's PrimaryTextFrame property to the text frame on the left page, but I'm getting an error: "Invalid object for this request."&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How do I set the PrimaryTextFrame in a script or using the type library?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dan&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:696439f4-7c9e-428a-877c-c0aece117c43] --&gt;</description>
      <pubDate>Mon, 07 Oct 2013 14:45:31 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5741588?tstart=0#5741588</guid>
      <dc:date>2013-10-07T14:45:31Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5741385?tstart=0#5741385</link>
      <description>&lt;!-- [DocumentBodyStart:951a20d7-81ab-485e-98d5-070294f1dc1b] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;Hi Dan,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;By default, Smart Text Reflow is limited to primary text frames.&lt;/p&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;You can change settings to allow pages to be added or removed when working in text frames that aren&amp;#8217;t Primary text frames by unchecking option '&lt;span style="font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; font-weight: bold; background-color: #ffffff;"&gt;Limit To Primary Text Frames&lt;/span&gt;'. However, a text frame must be threaded to at least one other text frame on a different page for Smart Text Reflow to work.&lt;/p&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;Similar is true for Delete Empty Pages.&lt;/p&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;You can set Smart Text Reflow through script using following property&lt;/p&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;&lt;strong&gt;TextPreference.smartTextReflow&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;Thanks&lt;/p&gt;&lt;p style="margin: 2px 100px 8px 0; font-family: myriad-pro-1, myriad-pro-2, Helvetica, Arial, sans-serif; background-color: #ffffff;"&gt;-Anshul&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:951a20d7-81ab-485e-98d5-070294f1dc1b] --&gt;</description>
      <pubDate>Mon, 07 Oct 2013 12:57:01 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5741385?tstart=0#5741385</guid>
      <dc:date>2013-10-07T12:57:01Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5740425?tstart=0#5740425</link>
      <description>&lt;!-- [DocumentBodyStart:f6777e59-e4d0-4955-b2c4-bdf6618622b6] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thank you for your response. I have turned on Smart Text Reflow (it is set to True in my program, and I can see it checked in InDesign when I open the document), but it does not automatically flow to additional pages when I place the file.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The same thing is true of Delete Empty Pages. Even though it is checked, if I have more pages in the document than are needed so several pages at the end are empty (each contains a text frame without any text in it), the empty pages are not deleted when the document is opened.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How do I get the automatic flowing to as many pages as are needed and the deletion of empty pages automatically?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f6777e59-e4d0-4955-b2c4-bdf6618622b6] --&gt;</description>
      <pubDate>Sun, 06 Oct 2013 22:35:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5740425?tstart=0#5740425</guid>
      <dc:date>2013-10-06T22:35:37Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5737803?tstart=0#5737803</link>
      <description>&lt;!-- [DocumentBodyStart:2ea5e1ca-7258-428f-ae60-e62de721b1b7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hi Dan,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I do not know the VB.net.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But this concept helps you,&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Go to Preferences ----- Type ------ Smart Text Reflow -------- End of Document&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please find screenshot:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="https://forums.adobe.com/servlet/JiveServlet/showImage/2-5737803-468903/smart+text+reflow.png"&gt;&lt;img alt="smart text reflow.png" class="jive-image jive-image-thumbnail" height="367" onclick="" src="https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5737803-468903/450-367/smart+text+reflow.png" width="450"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Beginner_X&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2ea5e1ca-7258-428f-ae60-e62de721b1b7] --&gt;</description>
      <pubDate>Sat, 05 Oct 2013 05:13:30 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5737803?tstart=0#5737803</guid>
      <dc:date>2013-10-05T05:13:30Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Place file with autoflow</title>
      <link>https://forums.adobe.com/message/5737386?tstart=0#5737386</link>
      <description>&lt;!-- [DocumentBodyStart:a3ae0c11-a1df-4ae9-acd2-39ad6cba107d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I want to place a set of RTF files in a new document (created within my VB.NET program) with the following statement, so the text from each file follows the previous text in one connected text flow:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;CType(BodyFrame.ParentStory.InsertionPoints.Item(-1), InDesign.InsertionPoint).Place(ImportFilePath)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How do I get it to autoflow the text? Right now it stops at the bottom of the text frame on the first page (the only page defined in the document) and gives the red box for overset text in the lower right corner of the text frame.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If I use the page place method, there's an optional parameter to specify autoflow text, but the text frame place method doesn't have this optional parameter.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a3ae0c11-a1df-4ae9-acd2-39ad6cba107d] --&gt;</description>
      <pubDate>Fri, 04 Oct 2013 22:04:24 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5737386?tstart=0#5737386</guid>
      <dc:date>2013-10-04T22:04:24Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

