Article View: adobe.scripting.indesign
Article #8574Re: textCleanUp.vbs remove character
From: Olav_Kvern
Date: Wed, 11 Oct 2006 16:54
Date: Wed, 11 Oct 2006 16:54
15 lines
1069 bytes
1069 bytes
Hi Ben,
All of the change parameters need to be contained within a single set of "curly braces" ({}). This should work:
{findText:"]"} {changeText:"]^p"} once Find all instances of ] and add a return after them.
{findText:"["} {changeText:"[", appliedParagraphStyle:"Body Text"} once Format Body Text
{findText:"]"} {changeText:"]", appliedParagraphStyle:"Caption"} once Format Caption
Hope this helps! Let me know if it works for you.
Thanks,
Ole
Technical Details
Message-ID:
<3bc1f06d.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc1f06d.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,af3ab86490b28ad2,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Olav_Kvern@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: textCleanUp.vbs remove character Message-ID: <3bc1f06d.0@webcrossing.la2eafNXanI> Date: Wed, 11 Oct 2006 09:54:38 -0700 References: <3bc1f06d.-1@webcrossing.la2eafNXanI> Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing