It works fine by me as well. But when I got a "critical" size of text (e.g. 230 pages of my book) the script crashes InDesign.
1 person found this helpful
If the script works with smaller documents, then the problem is probably not with the script. It's more likely one of the following:
a. Your hard drive is running out of space or is badly fragmented, or
b. You have some other problem, such as a corrupt font or a permissions problem, or
c. The large number of undo actions is causing the script to run so slowly that the application appears to have crashed
If you think it might be the last item, then we can try running the script using the doScript method.
a) My hard drive has 13 GB free space and was defragmented a week ago. In addition: I tested the script on an other computer with the same result.
b) All fonts are embedded and I am the "administrator"
c) The script is executed by the "doScript" method:
The curious thing about is: When I search for other items e.g. n-dashs the script works fine. It crashes just by searching quotation marks.
But even though: Thanks for the your answers!