Article View: adobe.indesign.windows
Article #49Re: (VB CS3) How do I reference a saved Grep query?
From: Jean-Paul_Damrell
Date: Thu, 02 Apr 2009 15:36
Date: Thu, 02 Apr 2009 15:36
14 lines
1336 bytes
1336 bytes
I really appreciate the rapid and detailed response Robert! I think that indicating a path to the XML version of the query might be a little too complex for me right now, considering that I can't get a straightforward Grep to work in VB while more work keeps flooding in. Can someone show me a simple example that incorporates the following (assuming that is is correct)? myInDesign.FindGrepPreferences.FindWhat = "(?i)foo" myInDesign.ChangeGrepPreferences.ChangeTo = "$0-bar" I can get this to work -- myInDesign.FindTextPreferences.FindWhat = "Foo" myInDesign.ChangeTextPreferences.ChangeTo = "Bar" But that doesn't help me with issues of spacing or mixed case that I'm dealing with. Thank you so much for any input.
Technical Details
Message-ID:
<59b8792f.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b8792f.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f51c6,ff182c3fece35c87 X-Google-Attributes: gidf51c6,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Jean-Paul_Damrell@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.indesign.windows Subject: Re: (VB CS3) How do I reference a saved Grep query? Message-ID: <59b8792f.2@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 08:36:36 -0700 References: <59b8792f.-1@webcrossing.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit