I need to insert cards that will fill the entire height of the sheet (30 cm) Is it possible to give the value of a desired number of cards, and the script will duplicate to a maximum of cards that go in height?
I will give 3 examples for you to understand:
1. If I need 5 cards 5 cm high, the script will duplicate me 6 cards, because 5 * 6 is 30.
2. If I need 3 cards 5 cm high, the script will also duplicate me 6 cards because 5 * 6 is 30.
3.If I need 7 cards 5 cm high, the script will duplicate me 12 cards. Attached is a diagram for example 3.
That is, always take advantage of the height of the sheet To the maximum.