![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Expert Programmer
|
what is wrong with this code?
if (documents.length > 0) {
var aiVar = activeDocument.variables.add();
aiVar.kind = VariableKind.TEXTUAL;
var myText = activeDocument.textArtItems.add();
myText.contents = "Dataset 1";
myText.contentVariable = aiVar;
var set1 = activeDocument.dataSets.add();
myText.contents = "Dataset 2";
var set2 = activeDocument.dataSets.add();
} |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|