Article View: adobe.scripting.indesign
Article #16374VB - Search for Percent Sign?
From: jpeliksza
Date: Fri, 19 Sep 2003 20:00
Date: Fri, 19 Sep 2003 20:00
19 lines
1296 bytes
1296 bytes
Using ID2 and VB, I'm trying to search for %P in a text frame and replace it with %PA, but when I run the script it ignores the text I'm looking for. Here's the script: myJump = "%" & mySection (where mySection is previously defined) mycount = mypub.TextFrames.Count For mybase = 1 To mycount mypub.TextFrames.Item(mybase).Search "%P", True, False, myJump Next mybase Do I need to call the % sign something else, in order to search for a string with a % sign in it? Thanks, ~j~
Technical Details
Message-ID:
<2ccd7b67.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!npeer.de.kpn-eurorings.net!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,f4070336a0c08075,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-19 13:07:47 PST From: jpeliksza <jpeliksza@tampatrib.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!news-out1.nntp.be!propagator2-sterling!news-in-sterling.newsfeed.com!npeer.de.kpn-eurorings.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: VB - Search for Percent Sign? Message-ID: <2ccd7b67.-1@webx.la2eafNXanI> Date: Fri, 19 Sep 2003 13:00:52 -0700 Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit