🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17161

Re: [AS] Am I triggering a known issue, or is this script just written incorrectly?

#17161
From: Jay Fraser
Date: Thu, 26 Jun 2003 18:58
33 lines
1386 bytes
Oh, OK, I missed that. Since this is all in a ...



tell story j 
--do stuff 
end tell



... clause, you don't have to put the "...in story j" at the end of this line:



set myParaName to applied paragraph style of paragraph i of story j  




Everything is already being told to story j, so you are saying "story j of story j" which is confusing.

I think you also need the word "name" in there:



set myParaName to name of applied paragraph style of paragraph i of story j  




... because the script usually thinks of paragraph styles in numbers. (Watch the event log.)

Keep us posted!
Technical Details
Message-ID: <1de9b237.2@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!WebX
References: <1de9b237.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,fb399c6421d29800
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-26 12:07:43 PST
From: "Jay Fraser" <jayfraser@yahoo.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: [AS] Am I triggering a known issue, or is this script just written incorrectly?
Message-ID: <1de9b237.2@WebX.la2eafNXanI>
Date: Thu, 26 Jun 2003 11:58:37 -0700
References: <1de9b237.-1@WebX.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit