Article View: adobe.scripting.indesign
Article #18032Re: Problem with compiled script
From: mattb
Date: Tue, 06 May 2003 16:22
Date: Tue, 06 May 2003 16:22
27 lines
1411 bytes
1411 bytes
ok here is the code
if value of XML Attribute "SectionType" of myXMLElement is "Level 2" then
set mySectionTitleLevel2Frame to make text frame with properties {geometric bounds:{-3, -42.5, myPageHeight, "0p0"}}
set properties of myXMLElement to {associated object:mySectionTitleLevel2Frame}
set capitalization of text contents of myXMLElement to all caps
set applied character style of text contents of myXMLElement to "SectionTitleLevel2"
tell mySectionTitleLevel2Frame
fit given frame to content
end tell
end if
I'm creating and grouping several items off of the page and then moving onto my spread. Could this be a problem? Thanks for your help.
Matt
Technical Details
Message-ID:
<1de8f1c5.3@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8f1c5.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,7f68682032039179 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-06 09:40:05 PST From: mattb <tim@tim.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Problem with compiled script Message-ID: <1de8f1c5.3@WebX.la2eafNXanI> Date: Tue, 6 May 2003 09:22:44 -0700 References: <1de8f1c5.-1@WebX.la2eafNXanI> Lines: 28 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit