I'm stuck with a text-variable problem...
I made two custom text variables (VAR1 and VAR2 both empty) in InDesign and placed them into a text frame with some other text within a master spread.
I take values from an xml and I'm trying to push em into those vars using a script but I can't see no way to do that.
I get to those vars using:
but I can't see any way to set their values.
Any of you know how to work this out?
This is the right way:
doc.textVariables.itemByName("VAR1").variableOptions.contents = "Value";