Article View: adobe.scripting.indesign
Article #17594Re: Req. For Help: Create new text boxes from clipboard
From: Michael Allison
Date: Fri, 30 May 2003 12:52
Date: Fri, 30 May 2003 12:52
14 lines
1414 bytes
1414 bytes
Hey Dave,
It still doesn't work. I think it may have to do how the script is using the value from the list. If I have a Paragraph Style named "Normal" in my document, if I hard code the value in the script it works, but if I pull it using the Choose function it does not.
I noticed that when I use the event log, I notice the following:
If I hard code the value Normal for LabelParaStyle it shows up in the event log as "Normal".
If I pull the value Normal from the Paragraph Styles list it shows up in the event log as {"Normal"}.
Would the brackets cause the error and if so is there any way to get rid of them
Cheers.
Michael
Technical Details
Message-ID:
<1de95236.11@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de95236.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,3ff73acf5baeb89 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-30 06:08:11 PST From: "Michael Allison" <allisonm@executiveboard.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Req. For Help: Create new text boxes from clipboard Message-ID: <1de95236.11@WebX.la2eafNXanI> Date: Fri, 30 May 2003 05:52:38 -0700 References: <1de95236.-1@WebX.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit