Article View: adobe.scripting.indesign
Article #385problems with "app.findGrep()"
From: Ola_Khrapatin
Date: Wed, 25 Mar 2009 14:07
Date: Wed, 25 Mar 2009 14:07
12 lines
918 bytes
918 bytes
Hi, Does anyone have any idea why would the following code produce the alert "undefined"? (Assuming the word "Ola" is indeed found in the text): app.findGrepPreferences = NothingEnum.nothing; app.changeGrepPreferences = NothingEnum.nothing; app.findGrepPreferences.findWhat = "Ola" var myFoundItems = app.findGrep(); alert(myFoundItems[0]); Thanks, Ola
Technical Details
Message-ID:
<59b86774.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,f1c68f0e049a9479,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Ola_Khrapatin@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: problems with "app.findGrep()" Message-ID: <59b86774.-1@webcrossing.la2eafNXanI> Date: Wed, 25 Mar 2009 07:07:52 -0700 Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit