SOLVED: Re: insertPages method for Acrobat 7
Rick Quatro
frameexpert at truevine.net
Fri Mar 10 10:29:37 PST 2006
Hi Martin,
Thanks for your test. It helped me find the following solution from page 680 of the JavaScript reference.
JavaScript Execution through the Menu Beginning with Acrobat 7.0, execution of JavaScript through a menu event is no longer privileged. To execute a security restricted method () through a menu event, one of the following must be true:
1.Under Edit > Preferences > General > JavaScript, the item labeled "Enable menu items JavaScript execution privileges" must be checked.
2.The method must be executed through a trusted function. For details and examples, see app.trustedFunction().
The paragraph titled Privileged versus Non-privileged Context also should be reviewed.
Thanks for all of your efforts.
Rick Quatro
Carmen Publishing
585-659-8267
www.frameexpert.com
More information about the framers
mailing list