Article View: adobe.scripting.indesign
Article #19557Check for Forced Line Break
From: Jay Fraser
Date: Thu, 05 Dec 2002 23:59
Date: Thu, 05 Dec 2002 23:59
19 lines
1304 bytes
1304 bytes
I'm trying to check a paragraph to see if it contains a forced line break. What I've got is:
tell myDocument
set mySpecial to forced line break
repeat with myCounter from 1 to 10
set myPara to paragraph myCounter of myStory
if myPara contains mySpecial then
set fill color of text in paragraph myCounter of myStory to myPink
end if
end repeat
end tell
That seems to work for everything except forced line break. I tried adding "as unicode text" to lines 2 and 4, but that didn't seem to help.
What am I missing?
Thanks!
Jay
Technical Details
Message-ID:
<1de6e492.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,5ea6e5ea8360f2ba,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-12-05 16:08:05 PST From: "Jay Fraser" <jayfraser@yahoo.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Check for Forced Line Break Message-ID: <1de6e492.-1@WebX.la2eafNXanI> Date: Thu, 5 Dec 2002 15:59:18 -0800 Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit