2 Replies Latest reply on Dec 9, 2011 4:31 AM by Haakenlid

    FindChangebyList JavaScript hangs on line 160

    Gary Niemeier

      Hi, I'm using InDesign CS5.5 on a Mac OS X 10.6 Snow Leopard. In trying to use the "FindChangebyList" Javascript, I'm finding that it hangs on line 160. See screen shot:


      Screen shot 2011-12-08 at 1.53.31 PM.png


      The following is the text search I've added to the "FindChangeList.txt" document:


      text{findWhat:"", appliedParagraphStyle:"C"}{changeTo:"", appliedParagraphStyle:"qin-hed"}{includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}Finds para style "C" and replaces it with para style "qin-hed".


      I'm searching for a certain paragraph style and replacing it with another. Should be simple, but the Javascript hangs. I've been careful to add the proper Javascript name to the script ("2parasweep.jsx") and the name of the FindChange text document ("2parasweepList.txt"). The FindChange text doc is inside the "FindChangeSupport" folder and the proper path is indicated in the Javascript.


      What's going wrong here?