How do I change the size and rotation of the numbers in this script ?
var document = app.activeDocument; //Use the current open Ai File
var selected = document.selection; //Use the current selection in Ai
for (var i = 0; i < selected.length; i++) { //Iterate over every selected object
var text = document.textFrames.add(); //Add a new text object
text.contents = i + 1; //Set the corresponding number text
text.top = selected[i].top - 10; //Position the text object underneath
text.left = selected[i].left;
}
This script adds a number to every selection (group or path) from this post. I'm looking for a way to change the size and other appearances of the number.