Is it possible to call 'FlattenAnnots' (ID: 36340) in a way that no dialog will be displayed?
Currently it will display two dialog boxes to confirm. I want to flatten without the need for any confirmation.
Thanks and regards
Ray
doCommand FlattenAnnots (ID: 36340)
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 205
- Joined: Fri May 18, 2012 8:41 pm
Re: doCommand FlattenAnnots (ID: 36340)
Hi rho123456,
Thank you for your post.
You cannot get rid of the "Flatten Annotations" dialog, but you can turn off the second confirmation dialog through the User Interface check box.
These dialogs cannot be disabled programmatically either.
Another alternative is to use the following JavaScript call:
with the RunJavaScript() method.
Thanks.
Sincerely,
Thank you for your post.
You cannot get rid of the "Flatten Annotations" dialog, but you can turn off the second confirmation dialog through the User Interface check box.
These dialogs cannot be disabled programmatically either.
Another alternative is to use the following JavaScript call:
Code: Select all
this.flattenPages();
Thanks.
Sincerely,