Hello,
I developp a PDF with Live Cycle Designer. In this PDF, user can press a Button to make a decision.
When the user clicked on this button, a mail is sent to SAP System.
I want sent a mail without opening outlook; so i develop a script for a trustedfunction :
trustedmailMsg = app.trustedFunction( function ( bUI, cTo, cCc, cBcc, cSubject, cMsg )
{
app.beginPriv(); // Explicitly raise privilege
app.mailMsg( bUI, cTo, cCc, cBcc, cSubject, cMsg );
app.endPriv();
})
But, this file (.js) is set in acrobat user folder.
It is possible to set this script in PDF to avoid deploying script on each user's system ?
Can you help me ?
1. Create an Acrobat digital certificate for yourself
2. Distribute it to your users
3. Have your users install your certificte
4. Have your users set your trust level for 'Embedded High Privilege JavaScript'.
George Kaiser