Hi,
I've set up an action that I'm using to batch my process. I iterate through the dataSets[i] that have unique names. I am trying to determine the name of the current index of the datasets[i]. I am able to read the name like this:
alert(app.activeDocument.dataSets[0].name);// this only reads the name of the dataset at [0] for every iteration. myset_0,myset_0,myset_0,myset_0,myset_0,myset_0,myset_0...
The problem is that I call this during the batch process using the dataset. I can't remove the dataset at zero, because it will change the length and mess up the batch.
I would like to do it like this:
alert(app.activeDocument.activeDataset.name);//myset_0,myset_1,myset_2,myset_3,myset_4,mys et_5,myset_6...
but I'm getting undefined.
I'm not sure what is wrong with the syntax of this:
app.activeDocument.activeDataset.name
thanks,
Aubrey