Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to use Illustrator generate 60 randomized Bingo cards?

New Here ,
Nov 17, 2025 Nov 17, 2025

Hi everyone,
I’m working on a project where I need to generate about 60 randomized Bingo cards based on an existing Illustrator design template (I’ve already designed one card).

I’m wondering whether Illustrator can automate this using Variables/Data Sets with an Excel (CSV) file, or if there’s a better workflow for generating multiple versions.

Many thanks!

TOPICS
Draw and design , Experiment , Feature request , How-to , Import and export , Performance , Print and publish , Scripting , Tools , Type
142
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Nov 17, 2025 Nov 17, 2025

not sure how the file is built but someone had asked something similar a while ago and I made a script that would shuffle the contents of a textframe. the basic idea being to design all the bingo content in a single text frame and then this would shuffle them and you can save them. pushing this script further you could shuffle the content and save it and loop through that multiple times.

 

if(app.activeDocument.selection.length==1 && app.activeDocument.selection[0].typename=="TextFrame"){
    var 
...
Translate
Adobe
Contributor ,
Nov 17, 2025 Nov 17, 2025

not sure how the file is built but someone had asked something similar a while ago and I made a script that would shuffle the contents of a textframe. the basic idea being to design all the bingo content in a single text frame and then this would shuffle them and you can save them. pushing this script further you could shuffle the content and save it and loop through that multiple times.

 

if(app.activeDocument.selection.length==1 && app.activeDocument.selection[0].typename=="TextFrame"){
    var StartContents = app.activeDocument.selection[0].contents
    var ShuffledContents = shuffleArray(StartContents)
    app.activeDocument.selection[0].contents = ShuffledContents
} else {
    alert("Whoops!\nPlease select a text frame and try again.")
}

/* Randomize array in-place using Durstenfeld shuffle algorithm */
function shuffleArray(Arr) {
    if(typeof Arr=="string")Arr = Arr.split("")
    for (var i = Arr.length - 1; i > 0; i--) {
        var j = Math.floor(Math.random() * (i + 1));
        var temp = Arr[i];
        Arr[i] = Arr[j];
        Arr[j] = temp;
    }
    return Arr.join("")
}

 edit: previous post

https://community.adobe.com/t5/illustrator-discussions/random-letters-and-numbers-mixing-position-in...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 17, 2025 Nov 17, 2025
LATEST

Thank you so much!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines