1 Reply Latest reply on Jun 30, 2015 12:57 PM by try67

    Does util.readFileIntoStream work in Reader XI?

    michealf52721234

      If so, what security settings are required? Can either a folder or document-level script be used?

        • 1. Re: Does util.readFileIntoStream work in Reader XI?
          try67 MVP & Adobe Community Professional

          - Yes

          - As documented:

          If the cDIPath parameter is specified, this method can only be executed in privileged

          context, during a batch or console event (or when the document is certified with a

          certificate trusted to execute "embedded high privileged JavaScript").

          - Yes, either one can be used.

           

          In addition I've discovered that this method has an "undocumented limitation" (or bug): It only reads up to 4096 characters of the file...