Hello scripter friends,
Has anyone tried (with success) to set PDF properties via ExtendScript ?
I have retrieved the PDFDocInfo property, which is a propVal with an ssval string array inside. But when I push strings into the ssval array and then use Doc.SetProps( ) FM freezes. Apparently, I need to use some other method to push the string values into the PDFDocInfo property, but I have always struggled with the many variations of TypedVal elements. If anyone has a useful idea let me know.
Thanks in advance
Do you mean the PDF setup in the Format menu?
O the File info in the File menu?
I do something like this:
var strings; strings = doc.PDFDocInfo; strings.push ("Subject"); strings.push ("The Subject"); strings.push ("Author"); strings.push ("The Author"); doc.PDFDocInfo = strings;
I didn't know it was this easy. Funny that the complexer method via SetProps does not work - it just freezes FM.