Check if application buttons are clicked
Hi,
Hoping that someone can help me with this. I am trying to figure out if, from a document, I can see if application buttons are clicked in Adobe Acrobat. In particular, I would like to see when an attachment is added or removed from the Attachments panel, but I can't seem to check this the way I expected.
I've come up with this bit of code:
if (app.execMenuItem("AddFileAttachment")) {
console.println("success");
}However, this block seems to actually run app.execMenuItem(), instead of checking to see if it ran.
A little confused both as to why this is happening, but also now wondering if there is a way to read when attachments are added or removed via the Attachment panel that would be best.
