1 Reply Latest reply on Aug 21, 2014 8:07 AM by try67

    app.newDoc - set window(not document) size

    Alexito

      Hi,


      I open a pdf File using JS in an other file, but the new Window is very big for this file and is active(over the original file) Can I set the size of the windows for a new document, i.e. are there parameters in the following function, like width, height and that new Acrobat window should be not active(is not placed over the origin(main) document)? I could not find it in documents like JSGuide and API.

       

      app.openDoc({

                  cPath: shortPath + "iconToHex.pdf",

                 //windowWidth ?

                //windowHeight

      });

       

      Thanks and regards,

      Alex