Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.

UltraEdit.activeDocument.findReplace.replaceInAllOpen=false;
UltraEdit.activeDocument.findReplace.replaceAll=true;
UltraEdit.activeDocument.top();
UltraEdit.activeDocument.write("A new line" + "\r\n");
...
UltraEdit.activeDocument.save();
UltraEdit.closeFile(UltraEdit.activeDocument.path,2);Mike wrote:And what does the '2' argument to closeFile mean?

This is the only line in the file.uedit32 /fni "C:\Projects\testfile.txt" /s="C:\Projects\double-write.js"UltraEdit.activeDocument.top();
UltraEdit.activeDocument.write("A new line" + "\r\n");A new line
A new line
This is the only line in the file.C:\temp>uedit32 /fni temp.txt /s=temp.jsC:\temp>uedit32 /fni temp.txt /s,e=temp.js


UltraEdit.saveAs(newFile);
UltraEdit.closeFile(newFile,2);Mike wrote:Would you please submit the problem to IDM? With your past experience, they'll probably accept your report with more authority than mine.

