You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var fPath = Folder.selectDialog("Select a location to save the certificates to");
var win = new Window("window{text:'Progress',bounds:[100,100,400,150],bar:Progressbar{bounds:[20,20,280,31] , value:0,maxvalue:" + names.length +"}};");
win.show();
pdfSaveOptions = new PDFSaveOptions();
for(x=0; x<names.length; x++){
// Create a new art layer containing text
var layerRef = app.activeDocument.layers["Name"]
// Set the contents of the text layer.
var textItemRef = layerRef.textItem
textItemRef.contents = names[x]
var pdfFile = new File(fPath + "/" + names[x]+".pdf");