How to automatic encrypt documents with Acrobat 9 standard ?

Hello,
I wont to encrypt documents automatically if the document is saved with a standard password.
Is that possible ?
I have the feeling it should be possibe with some jave code which is invoked during document close.
The background for this question is that there is a application running with automatically creates PDF-files using Acrobat standard, and sends the files with smtp-email. I want to enctypt this files and there is no chance to configre the application in this way.
Thanks,
Thomas

I have installed the following Javascript and still have problems to execute the function "this.encryptUsingPoliciy", the error message is "is not a function". It seems that "this" does not identify the currently opend document.
Using the variable "doc" the code runs errorfree and does what I want, but only on the new opened document.
I simply want to encrypt every document which is opened and saved with a Security Policy !
What I'm doing wrong ?
Thanks,
Thomas
/* Applying a Security Policy to a PDF Document */
/* You need to create a security policy before running this script */
/* Use "Advanced > Security > Manage Security Policies" menu */
var ApplySecurity = app.trustedFunction(
function()
  var oMyPolicy = null;
  var sPolicyName = "StandardPassword";
  app.beginPriv();
  // First, Get the ID of StandardPassword security policy
  var aPols = security.getSecurityPolicies();
  for(var i=0; i<aPols.length; i++)
     if(aPols[i].name == sPolicyName)
          oMyPolicy = aPols[i];
          break;
  if(oMyPolicy != null)
     // Now, Apply the security Policy
     // var doc = app.newDoc();
     // var rtn = doc.encryptUsingPolicy({oPolicy: oMyPolicy});
     var rtn = this.encryptUsingPolicy({oPolicy: oMyPolicy});
      if(rtn.errorCode != 0)
           // Print error message into JavaScript Debugger Console
           console.println("Security Error: " + rtn.errorText);
  app.endPriv();
ApplySecurity();

Similar Messages

  • Opening .pdf web documents with Acrobat XI Standard

    After installing Acrobat XI, when I click the hyperlink "view" for .pdf statements in either of my two brokerage company accounts, or click on a hyperlink to open a .pdf document in a web document, the .pdf gets downloaded but not opened.  So I have to view .pdf documents from my "Downloads" folder, rather than having them simply open in a new page or tab when I click on them.  (The new tab either quickly disappears or stays open, but is blank.  Only the Download location works to open the .pdf file.)  I don't know whether this is an Adobe issue with Acrobat XI or something else causing my computer not to open the .pdf files.  I am running Acrobat XI Standard in the Windows Vista Home Premium OS on a Gateway GT5678 PC.

    Many thanks for the quick response, Bill. On your hunch that the browser
    might make a difference,  I tried clicking on the same sites' .pdf files in
    Chrome and IE, rather than my normal Firefox browser. They opened on-screen
    without a problem.  Looks like I may have a Java plugin problem in Firefox,
    rather than an AA XI issue.  Also looks like Windows Vista supports AA XI
    without a problem.

  • Can i compress a document with acrobat reader?

    Does anyone knows how to compress a document with acrobat reader?
    thanks
    [signature deleted by host]

    You can't.

  • How notification system work together with Acrobat X Pro?

    Hi everyone,
    I use Adobe Acrobat 10 Pro to implement Distributed PDF Form in my organization. I have some problem about this.
    When client fill information in application form on our distribution server,Do you have solution that Acrobat 10 Pro can send a notification to specific authorized
    prerson for his/her Digital Signature?
    example : Mr.A filled some information about Purchase Order. System require his supervisor's digital signature so, Acrobat send notification to his supervisor automatically.
    I have some idea about Active Directory work together with Acrobat but, I don't know how to use both of it together.
    Any advice will help me so much.
    Best Regards,
    Charles
    PS. sorry about my poor english

    Thank you so much about your suggestion.
    Do you know how i can integrate Acrobat X Pro with Active Directory?
    I look forwarding to hear from you.Thank you.
    Chompunoot
    Date: Thu, 2 Jun 2011 19:29:41 -0600
    From: [email protected]
    To: [email protected]
    Subject: How notification system work together with Acrobat X Pro?
    Hi Charles,
    You want to modify the signature field properties and set a script to execute when the field is signed.
    Here's how to get started in Acrobat X:
    Open the file that will eventually be uploaded to the server
    Click Tools on the top right to open the Tools panel
    Expand Forms (click on Forms so you can see the buttons underneath)
    Click the Edit button
    Right mouse click on the first signature field and then click Properties from the pop-up menu
    Select the Signed tab on the Digital Signature Properties dialog
    Select the This script executes when the field is signed radio button
    Click the Edit button
    Add the following in the JavaScript Editor dialog:
              var cMyMsg = "Please log on the server and sign the document";
              app.mailMsg ({
                  bUI: true,
                  cTo: "mailto:[email protected]",
                  cSubject: "A document requires your attention",
                  cMsg: cMyMsg
    Click the OK button on the JavaScript Editor dialog
    Click the Close button on the Digital Signature Properties dialog
    Click the Close Form Editing button in the Forms panel under Tools
    Save the PDF file
    It's going to look something like this:
    http://forums.adobe.com/servlet/JiveServlet/showImage/70913/SignScript.jpg
    Give that a try and from and see what you think. You can set the strings as necessary and repeat for each signature field (except for the last one )
    Steve
    >

  • Tried to open a pdf document with Acrobat XI Pro Trial and sign in popped up , I keyed in my username and password but it doesnt respond its like grey with the four dots rotating forever. Any solution Please ?????

    Tried to open a pdf document with Acrobat XI Pro Trial and sign in popped up , I keyed in my username and password but it doesnt respond its like grey with the four dots rotating forever. Any solution Please ?????

    Hi higi97,
    How are you connected to the internet? Are you behind a particularly secure corporate firewall? Are you on Mac or Windows? Do you have any anti-malware software running on your machine that may be preventing applications other than your browser from connecting to the internet?
    You may try to follow the steps below:
    1.Close the Creative Cloud application.
    2.Navigate to the OOBE folder.
    Windows: [System drive]:\Users\[user name]\AppData\Local\Adobe\OOBE
    Mac OS: /Users/[user name]/Library/Application Support/Adobe/OOBE folder
    3.Delete the opm.db file.
    4.Launch Creative Cloud.
    Let us know if that helps,
    Regards,
    Rave

  • How to convert large Word 2007 doc (1200 KB) to PDF with Acrobat 9 Standard

    I'm trying to convert a large Word 2007 document to PDF with Acrobat 9 Standard.  It gets as far as 58% and then says it is unable to complete the conversion.  How can I fix this?

    The file you are working on is really not that large. There probably is a problem on a certain page of the document. Break the document in half. Try to create a pdf file from each half. Hopefully, one half prints properly and one-half does not. Take the half that does not break it in half.  Try to convert each half into a pdf, etc...
    Eventually, you will find which page has a problem. Most likely there is a graphic or a font used on that page that has problem. Most likely a graphic. That graphic will need to be recreated.

  • Unable to save a copy of encrypted pdf with Acrobat Pro 10.0

    I create an encrypted pdf using prince a tool to convert HTML documents to pdf. I am unable to save a copy of the pdf file when i use Acrobat Pro 10.0.
    It displays the following error
    "The document could not be saved. There was a problem reading this document(21)."
    However Acrobat Reader (basic) allows me to do so.
    I am also able to save a copy of the document with Acrobat pro 7. I raised this issue with Prince and they told me that it could probably be a bug/unwanted behaviour with Acrobat Pro 10.0
    My system environment details:
    OS: Windows xp
    Acrobat Pro: 10.0.0
    Acrobat Reader: 10.1.0

    Use the forum for Adobe Acrobat.

  • Unable to save a copy of encrypted pdf with Acrobat Pro

    I create an encrypted pdf using princexml a tool to convert HTML documents to pdf. I am unable to save a copy of the pdf file when i use Acrobat Pro 10.0.
    It displays the following error
    "The document could not be saved. There was a problem reading this document(21)."
    However Acrobat Reader (basic) allows me to do so. I am also able to save a copy of the document with Acrobat pro 7. I raised this issue with Prince and they told me that it could most probably be a bug/unwanted behaviour with Acrobat Pro 10.0
    My system environment details:
    OS: Windows xp
    Acrobat Pro: 10.0.0
    Acrobat Reader: 10.1.0

    Use the forum for Adobe Acrobat.

  • How to create shipment document with out inbound delivery document

    Dear Friends
    How to create shipment document with out outbound/inbound delivery document.
    In my client scenario, there is no inbound delivery for normal purchases.
    Just there are raising the PO to vendor, then they are doing MIGO for goods receipt.
    Can we do shipment creation with reference to PO?
    If it is possible, how it will be?
    Please let it solve
    With regards
    Lakshmikanth

    Dear Sameer,
    Please go to transaction VT01N here you enter Transportation planning point and shipment type then press enter.
    Now system will take you to the shipment document creation screen here you click on Select deliveries or press F6 now system will take you to the select outbound deliveries screen in this screen you enter selection data then execute, now deliveries will get assigned to that shipment.
    After assigning the deliveries enter the remaining data then complete the shipment finally save the shipment document.
    For more information please go through this SAP help link
    Note:- Shipment process need to be carry out for the deliveries before PGI.
    http://help.sap.com/saphelp_47x200/helpdata/en/f5/04898047bd11d2bf750000e8a7386f/frameset.htm
    I hope this will help you,
    Regards,
    Murali.

  • How can i share documents with different users on the same mac?

    How can i share documents with different users on the same mac?

    Shared how? The other users can read the documents or you all can read and write the documents?
    The first is easy just place the documents in /Users/Shared anyone can access the files there and the other users will be able to read them.
    The second is a bit trickier.

  • Can I certify a document with Acrobat Reader ?

    Hi, I would like to know if it is possible to certify a document with Acrobat Reader. The sign toolbar button "Certify" in Reader is always disabled even if the document has not been signed. Thanks in advance.

    I just tried it.   Even saved a document with Reader Extended PDF and a signature field (which you can only do with Acrobat).  I opened in Reader but could not certify it (although I could digitally sign in).  I can certify in Acrobat.
    It's possible you can certify a Portfolio (container for PDF docs) using Reader.  However, right now that's not working with the current version of Acrobat or Reader.  (Adobe engineering is working on that - see my recent posting).
    It's also possible that the bug with certifying/signing Portfolios is also preventing other actions from happening.  I don't know.

  • How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    Something to try -
    Having installed Acrobat Standard you have the Adobe PDF virtual printer installed.
    From your authoring application do a "file-print" and select the Adobe PDF printer rather than the attached local or network printer / plotter.
    Be well...

  • How to open iCloud documents with ios8

    hi,
    i recently updated my iPad to ios8. and when it asked me to install iCloud drive i said yes.
    Now when i open pages on my iPad, there are no documents.
    when i go to iCloud.com on my mac i can see those documents, so they still exist.
    how can i open my 'iCloud'  documents on pages on my iPad?
    most forums say i need to install the beta version of os yosemite, whom installation is not working those days.
    the only thing i can do was to open a document on iCloud.com on my mac and send it to me via email. from my iPad i could read that email and open the document in pages. But this work only with small documents, a document bigger than 20 Mo, cannot be sent via email ( i'm using gmail)
    please help me, i really need those documents, i'm working with them.
    thank you

    beckstarr wrote:
    Does anyone know how to open pages document with windows vista? i saved it onto a usb stick but when i tried to open it on the computers in my university which support windows vista, it didnt reconise the file and opened with a page of question marks!!!! Im panicking now!!!!!
    You cannot open it on Windows Vista. The only application in the world that opens a Pages document is Pages, and it is Mac OS X only.
    Your options:
    1. Find a Mac with Pages installed, and save the document as doc or pdf, which you can open on Vista.
    or, if that is impossible,
    2. Open the files in a texteditor like Notepad.exe on Windows and try to piece text fragments together to get at least part of your original text back. The images should also be available somewhere, even though all formatting is gone.

  • How to open pages documents with windows vista

    Does anyone know how to open pages document with windows vista? i saved it onto a usb stick but when i tried to open it on the computers in my university which support windows vista, it didnt reconise the file and opened with a page of question marks!!!! Im panicking now!!!!!
    Id appreciate any help!!! thanks!!!!!

    beckstarr wrote:
    Does anyone know how to open pages document with windows vista? i saved it onto a usb stick but when i tried to open it on the computers in my university which support windows vista, it didnt reconise the file and opened with a page of question marks!!!! Im panicking now!!!!!
    You cannot open it on Windows Vista. The only application in the world that opens a Pages document is Pages, and it is Mac OS X only.
    Your options:
    1. Find a Mac with Pages installed, and save the document as doc or pdf, which you can open on Vista.
    or, if that is impossible,
    2. Open the files in a texteditor like Notepad.exe on Windows and try to piece text fragments together to get at least part of your original text back. The images should also be available somewhere, even though all formatting is gone.

  • Can anybody tell how to compare two documents with two pointers controlled with the same mouse

    can anybody tell how to compare two documents with two pointers controlled with the same mouse ??

    I saw what I need but in a game to find the differences between two photos (two screens, two pointers controlled by one mouse), and I need a program to make the same thing   (compare a chosen files)

Maybe you are looking for

  • Using an iPad2 as a remote device for a PC

    The office I work at is currently going paperless and we are trying to use an iPad2 as a remote device four our PC's, I have everything all hooked up except the laptop has a widescreen and it doesnt show everything on the iPad, any advice on how to c

  • Data Mining Blog: New post on Time Series Multi-step Forecasting

    I've posted the third part of the Time Series Forecasting series. It covers: - How to use the SQL MODEL clause for multi-step forecasting - Many example queries - Two applications: a classical time series dataset and a electric load forecast competit

  • Grid Control agent install fails

    Hi all, I'm trying to install Oracle Grid control agent on linux machine and getting the following error: ./runInstaller Starting Oracle Universal Installer... Checking installer requirements... Checking operating system version: must be redhat-2.1,

  • Can I Use A Pre-Paid Phone As My Upgrade??

    I need to upgrade my phone, I purchased a prepaid phone from virgin mobile earlier this year, and was wondering if there was a way I could just use that for my new upgrade instead of having to fork out more money for yet another new phone.

  • Delivery Date View

    Dear Friends How can i view the report of Delivery dates of Purchase Order. Thanks Shivani