Author Topic: Variables and Design & Print  (Read 857 times)


  • Global Moderator
  • *****
  • Posts: 4298
  • IMatch-User since 2001 (IMatch 3.6)
Variables and Design & Print
« on: February 15, 2019, 10:57:07 AM »
Hi all,

Some of you know that I do a lot with Design & Print. I find it a wonderful tool.
Variables are just as cool and if you combine both, things are possible that I didn't dare to think about before.

Here's just a short thing:
If you make a dynamic template and work with groups (categories), then you can for example set that each group has a different image (as background e.g.) and a different color.
In the attachment (which looks a bit wild) you can see about 3 groups (Gr1 ...). Each group has a different color (red, green, blue) at the bottom of the image and (more difficult to see) a different image as background.
This helps the viewer of such a document a lot to distinguish the different groups, especially if there are about 20 groups like in my case.

All you need to do is use variables.
In the case of the color strip at the end of the page, this is a rectangle container with the variable:
{Print.Group.Index|is:1,#ff0000;is:2,#00ff00;is:3,#0000ff;is:4,#ffff00;is:5,#ffc8ff;is:6,#ffdcff;is:7,#e1ffff;is:8,#ffffe1} ....

(I don't know how long such a construct can be maxmimal)

In the case of the background image (with opacity) it is a graphic container with this variable:

Means translated, if the group is 1 (the first group), then use the color #ff0000 and the image C:\sinus-icons\fruit2.JPG.
If the group is 2, then use the color #00ff00 and the image C:\sinus-icons\fruit.JPG and so on...

Maybe this hint will help one of you.
Have fun.

BTW: this doc has at the moment 128 pages, all automated, try this with another DAM or Layout-Programm   ;D
Best wishes from Switzerland! :-)


  • IMatch Developer
  • Administrator
  • *****
  • Posts: 27956
Re: Variables and Design & Print
« Reply #1 on: February 15, 2019, 02:42:25 PM »
Thanks for sharing  :D