Adobe Acrobat PDF Viewer Control (TMSAcroPDF)

Macro Scheduler version 15.0.25 includes an experimental PDF viewer control (TMSAcroPDF).

The TMSAcroPDF control requires the free Adobe Acrobat Reader to be installed on the PC that the macro will run on. An error may occur if trying to run the macro on an environment that does not have Adobe Acrobat Reader installed. You will get a message if trying to add the control to a dialog at design time if Acrobat Reader is not installed.

To load a PDF set the control's 'src' or 'FileName' property to a full path to a PDF file. A known issue is that if you set this property at design time the PDF will load and it will become impossible to interact with the control - you will not be able to move or resize it. We therefore recommend that you do not set the src at design time and instead do so at run time before showing the dialog. e.g:

SetDialogProperty>Dialog1,MSAcroPDF1,src,%USERDOCUMENTS_DIR%\test.pdf
ShowDialog>Dialog1,result

Still need help? Contact Us Contact Us