Store a list of images in Table1, each with a key (e.g. “cow”, “horse”, “chicken”). Then in Table2, write a string that specifies which images you want to assemble (“2 cows, 3 chickens”. Run the script to copy those images into Table2.
This was used to make a “Piano Cheat Sheet”. There is an image for every piano key in an 2 octaves (a-g, twice) then you can write a melody (“aaccddc”) and the script shows what keys to hit to play the song.