These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

JavaScript Warning message.

sawanjain
Registered: Jun 12 2009
Posts: 9
Answered

Hi,

Is there any way to hide JavaScript warning message displayed in Dialog window.

Regards,
Sawan

My Product Information:
Acrobat Pro 6.0, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi sawanjain,

If you Certify the PDF or use a trusted function the warning message will not appear. Here is an excerpt from an article here at AUC on using response dialogs in PDFs.
http://www.acrobatusers.com/tutorials/2006/popup_windows_part2

"These warnings are displayed whenever the code is run from a suspicious context, like a script in a PDF. The only way to get this message to disappear is to run the code from a trusted context. There are two kinds of trusted contexts, privileged contexts and certified documents. Privileged context is a topic we won’t get into here, but basically it’s something that can only be done from Folder or Application Level scripts. Therefore, it is not suitable for generally distributed documents, but does work in a closed workflow (where IT has control over everyone’s system)."

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com