Hi,
i have to export 2 Pages in a new file via button.
There is an option for export a page, but this option only lets you export pages which directly following (1 -3 or 6-9 but not 5 and 9)
One of the pages could be anywhere in this document, so i want to export it with this code
trustedexPa = app.trustedFunction( function ()
{
// Additional code may appear above
app.beginPriv(); // Explicitly raise privilege
this.extractPages({nStart: this.pageNum, nEnd: this.pageNum});
app.endPriv();
// Additional code may appear below.
});
(the button always is on this page)
the Second page is ALWAYS page nr. 2
So now i have to create a button which exports the actual page + page 2 in a new file with a single click.
Do you have any ideas?
Sincerely
Timo