I am trying to export all artboards into different png for each dataset. But I don't know how to make the script loop through all datasets.
I am trying:
But nothing works. Also getting the name and doing:
I am getting the methods from this two sites:
But I really don't know how to go on, nothing works for me.
Your answer is here:
var doc = app.activeDocument;
doc.activeDataSet = doc.dataSets;