Text Frame Numbering Sequential is Slow and Poor Perfomance
Hi Experts, Please I need your help to increase performance to this simple scirpt, the script shouid insert 5000 number in everyline in user selected text frame but the performance is very slow and poor!, do i need to change the way of the loop? , i tried many loops methods and all of them are Slow and Poor Performance.
start = 1;
end = 5000;
var mySel = app.selection[0].parentStory
for (var i = start; i <= end; i++) {
mySel.contents += (i + "\r");
}
Please Help if you can with tips to increase the Performance!.
Thanks in Advance