-
1. Re: FindChangebyList JavaScript hangs on line 160
John Hawkinson Dec 9, 2011 1:26 AM (in response to Gary Niemeier)(Generally speaking, when a script produces an error, we don't call that a "hang." The word "hang" is reserved for when the program just stops responding with no feedback or error condition.)
I...don't think we have quite enough information to determine the problem. I assume that if you change your findWhat and changeTo strings away from null strings, the problem does not go away? If it does not go away, please upload your two files to http://pastebin.com/ (or otherwise make them available) and post a link here. If it does go away, well, hrmm.
-
2. Re: FindChangebyList JavaScript hangs on line 160
Haakenlid Dec 9, 2011 4:31 AM (in response to Gary Niemeier)I think the error means that changeText() is not possible because findWhat and changeTo is identical. The appliedParagraphStyle might not be valid.
Are you sure that you spelled the paragraph styles correctly and that they are both paragraph styles, not character styles?




