Copy link to clipboard
Copied
Hello!
I have a ticket that has a QR code on it that the customer wants in their color (blue). When using datamerge, the QR codes are colored black. The DB has 25,000 records. Anyone have a Javascript to accomplish this?
Thanks in advance!
Bud
I had a look into this just now, @budatlitho, and it isn't as easy as it should be. Even using a script to set the color after merging is difficult. I think the most practical way is to use this masking technique to apply the color. It seems complicated, but once you understand what it's doing you can work with it fairly easily in most cases. I've made a demo .indd and a .csv which I've attached to this post if you want to see how I set it up. I used an Object Style for each component of the tec
...Copy link to clipboard
Copied
So I checked if this flaw is still present in the brave new version of Adobe InDesign 2026, but too bad... it isn't. And the QR dialogue still initiates with the least used Text setting (in stead of the commonly used URL). So it has been left untouched – again.
I tried all kinds of hacks, by setting up a colored QR code, using some bogus address first, and coloring it. But you can't delete the bogus address afterwards to use the code as a placeholder for datamerge, because the OK button requires some initial content. Then I treid deleting the whole QR image from the frame, but then the datamerge process creates a brand new code in black again...
And Object Styles can't access the typical Fill color of the QR code either.
So it's still a matter of scripting, afterwards.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now