Article View: adobe.scripting.indesign
Article #148Re: Find/Change taking much longer in CS4
From: Fred_Goldman
Date: Thu, 02 Apr 2009 22:07
Date: Thu, 02 Apr 2009 22:07
14 lines
1525 bytes
1525 bytes
Same exact machine etc. I am using the ME version so this might be an ME bug. That's really what I want to know, if people with the regular version are seeing the same results. This has really put a dent into my work (I spend most of time converting documents from an older publishing system) and has kept me from being able to use CS4.
Here is the code:
var myBold = CreateStyleBold() //This function runs quickly as expected
findChangeGrep("Bold",myBold)
function findChangeGrep(find, change){
app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;
app.findGrepPreferences.appliedCharacterStyle = myDoc.characterStyles.item("[None]");
app.findGrepPreferences.fontStyle = find;
app.changeGrepPreferences.appliedCharacterStyle = change;
myStory.changeGrep(); //Here is where it is taking a very long time.
}
Technical Details
Message-ID:
<59b87f1a.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossingReferences:
<F4B7CF71B758CCEB32D0E3430819CB26@in.webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,1c74772f03d343aa X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Fred_Goldman@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Find/Change taking much longer in CS4 Message-ID: <59b87f1a.2@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 15:07:46 -0700 References: <F4B7CF71B758CCEB32D0E3430819CB26@in.webcrossing.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Original-Lines: 20