Article View: adobe.scripting.indesign
Article #18121Re: apply paragraph
From: Olav Kvern
Date: Thu, 24 Apr 2003 14:58
Date: Thu, 24 Apr 2003 14:58
26 lines
1200 bytes
1200 bytes
robbie-- Because of a peculiarity of AppleScript, your variable "titlepar" is a string (the contents of the paragraph), rather than an object. You can either apply the paragraph style directly: set applied paragraph style of paragraph 1 of TextFr1 ... or you can get the object itself and then apply the style: set titlepar to object reference of paragraph 1 of TextFr1 set applied paragraph style of titlepar to MyStyle Either approach should work. Thanks, Ole
Technical Details
Message-ID:
<1de8db0b.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8db0b.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,b7b212da8fb6f685 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-24 08:08:02 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!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: Re: apply paragraph Message-ID: <1de8db0b.0@WebX.la2eafNXanI> Date: Thu, 24 Apr 2003 07:58:24 -0700 References: <1de8db0b.-1@WebX.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit