Product: | Platform: | Area: | Version: |
PDF Xtra for Director | Windows, Macintosh | Interactivity | 3.0.1 - 7.0 |
Summary
PDF Xtra contains some basic display options, such as the ability to show or hide the Adobe Acrobat/Reader toolbar and scrollbars for a PDF Xtra member.
However, if you want to be able to turn on or off individual toolbar buttons or menu items, there is a very effective way...
Solution
The JavaScript file named config.js can be used to enable and disable individual toolbar and menubar items within the Adobe Acrobat/Reader application interface. This file must be present within a folder named JavaScript, located within the Acrobat/Reader application folder, when the Acrobat/Reader application is launched.
The file, available for download below, is currently set up to disable all menu and toolbar items. If you want to enable any of them, simply edit the file in any text editor and comment out the items you wish to show in your project.
You will need to write a script that copies the file config.js to the appropriate folder named JavaScripts, next to the Adobe Acrobat/Reader application, before the Acrobat or Reader application is launched.
Example folder: "C:\Program Files\Adobe\Acrobat 7.0\Reader\JavaScripts\config.js"
When your projector quits (on StopMovie), be sure to delete this file again or restore the original JS file if there was one.
This solution overrides the initial display settings of your PDF documents.
Samples
Download the JavaScript file and follow the instructions in the read-me.txt file included.
