0 Replies Latest reply on Oct 23, 2013 11:29 AM by Corgano

    How do I get the JavaScript Object of the Active / Open acrobat window?


      Usually when I get started I use this (AutoIt)


      $oAcro = ObjCreate("acroexch.app")

      $oPDF = ObjCreate("AcroExch.PDDoc")


      $File = @ScriptDir&"\test.PDF"



      $oJSpdf = $oPDF.getJSObject.app.opendoc($File)


      This would open $File in Acrobat and get the JS object

      If there were multiple acrobat windows open, it would attach to the one with $File open


      How would I attach / get the object of the Acrobat that is currently open / active?