Hi all!
I'm searching for a while a solution to open a file, convert to 133 columns, convert it to ebcdic and save.
My code :
My problem is : if I have a line with 33 characters, the 'wrapToReturn' function doesn't fill the 34 to 133 columns with a blank. But, by the interface, the command "Columns-> convert to fixed column" everything works.
Thanks for helping!
I'm searching for a while a solution to open a file, convert to 133 columns, convert it to ebcdic and save.
My code :
Code: Select all
while(nFileCount--) {
UltraEdit.open(asFileNames[nFileCount]);
UltraEdit.activeDocument.toEBCDIC();
UltraEdit.activeDocument.wrapToReturn(133);
UltraEdit.closeFile (UltraEdit.activeDocument.path,1);
};
Thanks for helping!