Adding a File to a PDF using Javascript
Good day everyone
I was wondering if there's a way to know via javascript, if at least one file is attached to said PDF?
Im prsently using this code to let someone attch a file:
var myDoc = event.target;
var sFile = "myFile"
myDoc.importDataObject(sFile);
app.execMenuItem("ShowHideFileAttachment");
But after that, how can i keep track of this? I could use right now a variable to tell me its been added... but what if a user deletes the attachement?? can i track that? if so, i could update said variable maybe??
Any ideas??? thx so much for the help again 🙂
Patrick
