For a simple game design, I find myself needing numbers in a consistent style, all of them single point text objects. Importing a text file creates a single text frame, and that's not what I want.

Is there a way to create a set amount of point text objects, with numerals increasing?

1 Answer 1


I found this old script on GitHub by user johnwun. It still works in recent version of Illustrator as far as I can tell.

  • Download the script.
  • Import or manually enter a list of numbers divided by ordinary line breaks.
  • Make sure the text is Point Type. Perhaps you need to use Type > Convert To Point Type.
  • With the text selected, run the script using File > Scripts > Other Scripts.

If you need to generate a list of numbers you could run a script like this in your browser's console and copy/paste the result:

let from = 0;
let to = 40;
let numbers = "";
for (let i = from; i <= to; i++) {
  numbers += i + "\n";

In InDesign I would perhaps use linked text frames with a Paragraph Style with Numbering and Keep Options that makes sure to switch frame every paragraph.

Or if the numbers appear on separate pages I would simply use the Current Page Number marker.

  • Thanks, Wolff. I was already afraid the solution would be a script. I always have to look up how I run those in Ai ^^'
    – Vincent
    Dec 15, 2022 at 10:41
  • 1
    @Vincent, you're welcome. I don't think using scripts in Ai is user friendly. It's annoying that you have to browse for the script every time. Not sure if there's a way around that.
    – Wolff
    Dec 15, 2022 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.