Version 1 of HowTo open PDF with Adobe Acrobat using tcom

Updated 2007-09-30 18:54:20 by ALX

This page provides an example of how to open PDF with Adobe [L1 ] Acrobat using the tcom package. For more information see DeveloperFAQ.pdf [L2 ], IACOverview.pdf [L3 ] and IACReference.pdf [L4 ].

Alexander Schöpe


 package require tcom

 if {[catch {::tcom::ref createobject AcroExch.AVDoc} application]} {
   puts stderr "tcom: $application"
   exit 1
 }

 set rc [$application Open {C:\IACReference.pdf} {Opened by Tcl}]

HowTo open PDF with Adobe Acrobat or Reader using DDE


Category Example | Category Package | Category Windows | Category tcom