A typical example of this is using the App.openDoc() method from a PDF link to open a separate PDF document. This would have worked without problems in previous versions of Acrobat, but unless the disclosed property of the PDF you’re trying to open is set to ‘true’, the PDF will NOT open with Acrobat.
So in Acrobat:
Acrobat 6.0 – Open Batch Processing from the ‘Advanced’ menu.
Acrobat 5.0 – Open Batch Processing from ‘File > Batch Processing > Edit Batch Sequences’
Click ‘New Sequence’ and give a name to your new sequence.
This will run when the document is opened.*/
this.addScript(‘setDisclosed’, ‘this.disclosed = true;’);