SOLVED: Re: insertPages method for Acrobat 7

2006-03-10 Thread Rick Quatro
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

___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


SOLVED: Re: insertPages method for Acrobat 7

2006-03-10 Thread Rick Quatro
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