4 Replies Latest reply on Jul 25, 2008 11:57 AM by Patrick Leckey

    Making the file copy.

    Level 1
      I try to copy Template PDF to Working copy but getting
      error after following code on the Folder Level:

      var md1 = app.openDoc({ cPath:"/c/PDF/1_Origin/Template.pdf",bHidden: true}) ;
      var mp1 = app.getPath("/c/PDF/2_Work_to_do/Access_Copy.pdf") ;
      md1.saveAs(mp1) ;
      md1.closeDoc(true) ;

      NotAllowedError: Security settings prevent access to this property or method.

      I think it relate to "saveAs" method.
      Is Somebody can tell me how to reset the method on the local PC?