Answered
get list of tag and mapping names
hI all
i am trying to create one script to get all list of tags and their mapping style names
any suggestion
Thanks in advance
Anupam
hI all
i am trying to create one script to get all list of tags and their mapping style names
any suggestion
Thanks in advance
Anupam
Hi Anupam, is this sort of what you mean?
var xmlMaps = app.activeDocument.xmlImportMaps;
for (var i = 0; i < xmlMaps.length; i++) {
var m = xmlMaps.item(i);
if (m.isValid) {
$.writeln(m.markupTag.name +': ' + m.mappedStyle.name);
}
}Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.