Article View: adobe.scripting.indesign
Article #16191Re: [AS] Get contents of text frame - with style?
From: James_Naylor
Date: Wed, 08 Oct 2003 12:29
Date: Wed, 08 Oct 2003 12:29
25 lines
1517 bytes
1517 bytes
Ah, interesting! So I could, for example: [this is a snippet of the code] set mySelection to selection repeat with myCounter from 1 to count mySelection set myCurrentStory to item myCounter of mySelection set xmlTag to name of markup tag of associated XML elements of myCurrentStory set frameConts to contents of (parent story of item 1 of myCurrentStory) And then use Text Style Ranges on the parent of myCurrentStory? I would only really need to search for superscript/subscript, italic and bold - so I can just search for 'font style' and position, and replace the text that is altered with tagged text in frameConts? My head is spinning - thanks for the help so far! James
Technical Details
Message-ID:
<2ccdc2e2.5@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccdc2e2.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,2258dfe830e0f182 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-10-08 05:37:52 PST From: James_Naylor@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [AS] Get contents of text frame - with style? Message-ID: <2ccdc2e2.5@webx.la2eafNXanI> Date: Wed, 8 Oct 2003 05:29:49 -0700 References: <2ccdc2e2.-1@webx.la2eafNXanI> Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit