<?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 - Calculate length of text lines</title>
    <link>https://forums.adobe.com/community/indesign/indesign_scripting?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 24 Oct 2013 19:36:21 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-10-24T19:36:21Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Calculate length of text lines</title>
      <link>https://forums.adobe.com/message/5786181?tstart=0#5786181</link>
      <description>&lt;!-- [DocumentBodyStart:e9c628d3-a4bb-4966-87d6-0240c81357bf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Yes, I used the wrong term. I'm using the soft return character at the end of my poem stanza lines.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The horizontalOffset method of determining line length, based on the starting and ending characters, worked well for me. Thanks for the suggestion!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e9c628d3-a4bb-4966-87d6-0240c81357bf] --&gt;&lt;img src='/beacon?t=1415905833933' /&gt;</description>
      <pubDate>Thu, 24 Oct 2013 19:36:21 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5786181?tstart=0#5786181</guid>
      <dc:date>2013-10-24T19:36:21Z</dc:date>
      <clearspace:dateToText>1 year 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Calculate length of text lines</title>
      <link>https://forums.adobe.com/message/5785454?tstart=0#5785454</link>
      <description>&lt;!-- [DocumentBodyStart:1387b799-758c-4269-8a09-890b899a7fdf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;A hard return is \r &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;\n is a soft return&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Have a look through the comments here&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://indesignsecrets.com/setting-poetry-flush-left-center-on-longest-line.php" rel="nofollow" target="_blank"&gt;http://indesignsecrets.com/setting-poetry-flush-left-center-on-longest-line.php&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1387b799-758c-4269-8a09-890b899a7fdf] --&gt;</description>
      <pubDate>Thu, 24 Oct 2013 15:26:59 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5785454?tstart=0#5785454</guid>
      <dc:date>2013-10-24T15:26:59Z</dc:date>
      <clearspace:dateToText>1 year 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Calculate length of text lines</title>
      <link>https://forums.adobe.com/message/5785254?tstart=0#5785254</link>
      <description>&lt;!-- [DocumentBodyStart:a78b3226-d09a-4474-892e-de1b02e23ddd] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;In a script, I am inserting text that is a 4-line poem. Each line except the last ends with a hard return ("\n"). I would like to calculate the length (in inches or some other length unit) of each individual line to find the longest line and adjust the left indent accordingly. Is it possible to get the length of a line of text in a script?&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:a78b3226-d09a-4474-892e-de1b02e23ddd] --&gt;</description>
      <pubDate>Thu, 24 Oct 2013 14:52:47 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5785254?tstart=0#5785254</guid>
      <dc:date>2013-10-24T14:52:47Z</dc:date>
      <clearspace:dateToText>1 year 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

