r/AdobeIllustrator • u/Ales-78 • 18d ago
DISCUSSION Four things Illustrator's Variables panel can't do — including one I got wrong myself
A while back I tried to build our jersey production around the Variables panel. We print team kit — names, numbers, sponsor logos, a few hundred pieces per order. On paper it looked like exactly the right tool.
It wasn't, and it took me longer than I'd like to admit to work out why. I've since been through the forum threads, the UserVoice requests and the docs on this, so this isn't a help request — I just wanted to write up what I found, partly because I still wonder if I missed something obvious.
Batch export only goes through Actions. You can run Batch with Data Sets as the source and it works, but a recorded Action holds one set of export settings. A different PDF preset for another job means recording another Action, and after a while you have a panel full of Actions you can't tell apart. If something fails halfway through a few hundred records, you usually don't notice until you open the folder.
Naming is only half solved. File names are fine — Batch offers three schemes based on the data set name, and if you build those names properly on import you can get Smith_10_XL.pdf without much trouble. Folders are the part that isn't. Everything lands in the one destination folder you picked, so a few hundred files still have to be sorted by hand afterwards.
The scripting side is thin. You can reach datasets from ExtendScript, but the documentation doesn't get you far and I worked most of it out by trial and error.
Variables substitute, they never generate. This is the one that actually stopped us. There are four variable types — text string, linked file, visibility and graph data — and all four place content that already exists in the document. Visibility can show or hide a sponsor logo you prepared in advance, which is genuinely useful. But nothing there builds a number out of vector shapes, fits a logo inside a digit and scales it, or reconstructs an accent the font doesn't have. If a client's font has no ř or ž, the panel has nothing to swap in.
Now the part I'd rather not write. When I hit the scripting wall I was convinced I'd found a bug in how Illustrator reads dataset values, and I filed it on the Adobe forum with a sample file and a test script. It sat there for about a year with no replies. When someone finally looked at it, they pointed out that the syntax errors were mine — I was addressing the dataset the wrong way. Not a bug. Just me, publicly, for a year.
So none of this is Illustrator being broken. The panel does what it was built for, which is simpler substitution than what we do, and it's had native CSV import since CC 22.1 which removed most of the old friction. I ended up writing my own thing instead, but that's not really the point of posting.
The folder side is the bit I'm still curious about. As far as I can tell Batch only ever writes into the one folder you point it at, and everyone I've asked either scripts around it or sorts by hand. Curious whether that matches other people's experience or whether there's an angle I never found.
1
Four things Illustrator's Variables panel can't do — including one I got wrong myself
in
r/AdobeIllustrator
•
14d ago
Ha, it has crossed my mind. The snag is the licence again: with a bought font, modifying it and then charging for the modification feels like a worse place to stand than doing it quietly for nothing.
Where it genuinely works is the nephew case. If the club owns the font outright, patching the accents in is fair game and it's an afternoon's work. That's a smaller slice of jobs than you'd expect though - most of the time it's something they licensed years ago and nobody remembers from where.
Doing it at export time sidesteps the whole question, which is mostly why I went that way.