You reached the maximum number of files that can be opened.
Hi,
I'm writing a JavaScript action that creates a new file in a loop with var newDoc=app.newDoc(); and close this file at the end of the loop with newDoc.closeDoc();
This action works fine... until the 49th file, then I have a message in the console window (in French):
Vous avez atteint le nombre maximum de fichiers pouvant être ouverts. Vous devez fermer certains fichiers avant de pouvoir en ouvrir ou en imprimer d'autres.
That means: You reached the maximum number of files that can be opened. You must close some files before opening or printing other ones.
What I don't understand because the files are not open!!! It is certainly necessary to empty a variable or a memory somewhere.
Does anybody have an idea?
Thanks in advance
bernard

