How do I create a triggered action?
What I have so far:
The goal is to get the "Please close this tab" message to appear once the "DidPrint" trigger is triggered.
Thanks for the help!
Well the following code seems to work in Adobe Reader, but causes Chrome to blow up. Does it look accurate?
PDAdditionalActions actions = PDAdditionalActions.META.createFromCos(notification.cosGetDict())
Generally every PDObject will have it's own dictionary so if you're creating a document from scratch you'll always need createNew(). createFromCos() is for existing dictionaries which you might have copied from another or read from an existing pdf file for example.
Log in to post a comment.