I need to select some characters. To do so, I wrote the following script, though it selects all the text in the file. Who know how to copy and paste only some bytes? Thank you
UltraEdit.selectClipboard(0);
UltraEdit.clearClipboard();
var i = 0;
UltraEdit.document[1].startSelect;
while (i < 3) {
UltraEdit.document[1].key("RIGHT ARROW");
i++;
}
UltraEdit.document[1].endSelect;
UltraEdit.document[1].copy();
UltraEdit.document[2].paste();
UltraEdit.selectClipboard(0);
UltraEdit.clearClipboard();
var i = 0;
UltraEdit.document[1].startSelect;
while (i < 3) {
UltraEdit.document[1].key("RIGHT ARROW");
i++;
}
UltraEdit.document[1].endSelect;
UltraEdit.document[1].copy();
UltraEdit.document[2].paste();