Article View: adobe.scripting.indesign
Article #18118apply paragraph
From: robbie
Date: Thu, 24 Apr 2003 12:56
Date: Thu, 24 Apr 2003 12:56
13 lines
1217 bytes
1217 bytes
hey, i'm new at indesingn scripting and i've been trying to apply paragraph styles to some text... but can't seem to find what i'm doing wrong. I want the script to apply a style to the 1st paragraph of a text. here is my script tell application "InDesign 2.0.2" open sjab set sjab to active document set MyStyle to paragraph style "new style" of sjab set TextFr1 to first text frame of page 1 in sjab place inl on TextFr1 without showing options set titelpar to first paragraph of TextFr1 set applied paragraph style of titelpar to MyStyle end tell
Technical Details
Message-ID:
<1de8db0b.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!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,b7b212da8fb6f685,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-24 06:08:53 PST From: robbie <robbie@2impress.be> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: apply paragraph Message-ID: <1de8db0b.-1@WebX.la2eafNXanI> Date: Thu, 24 Apr 2003 05:56:28 -0700 Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit