πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16942

More Tagged Text questions

#16942
From: John Darnell
Date: Tue, 22 Jul 2003 21:52
19 lines
1768 bytes
FοΏ½ilte Fellow Scripters:

In my script I import text that looks like this (please assume the correct preliminary lines):

<DefineParaStyle:DefaultFolioRight=<cSize:10><cFont:Helvetica><cTypeface:Plain><pBodyAlignment:Right>><ParaStyle:DefaultFolioRight>13

This text, in combination with some other code creates a page nubber in a text frame at the bottom of the page. I need the page number to be right-justified on right pages, and the above tagged text *should* do that.

After running the script, the 13 is found to be left-justified. If I export the text to a text file, this is what I find:

...<DefineParaStyle:DefaultFolioRight=<cTypeface:Plain><cSize:10.000000><pBodyAlignment:Right><cFont:Helvetica>><ParaStyle:><Color...><ParaStyle:DefaultFolioRight><cColor:...>13<cColor:>

so even though the justification is set, the text does not get right justified.

Is this a bug in InDesign, that the justification cannot be set through tagged text? Or am I doing something wrong?

TIA.

John
Technical Details
Message-ID: <1dea0651.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!kibo.news.demon.net!demon!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,4b1981b1ee319494,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-07-22 15:07:43 PST
From: "John Darnell" <John.Darnell@Walsworth.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!kibo.news.demon.net!demon!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: More Tagged Text questions
Message-ID: <1dea0651.-1@WebX.la2eafNXanI>
Date: Tue, 22 Jul 2003 14:52:53 -0700
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit