![]() Both folders can be located on any platform by running some code in the JavaScript Console ( Figure 1).įigure 1 JavaScript Folder Paths on Windows One is local to the current user and one is global for the system. There are two locations where Acrobat looks for Folder Level scripts. Where is the Folder that holds Folder Level Scripts? Some typical uses for Folder Level scripts are adding entries to the Acrobat Help menu (such as the JavaScript Reference), adding buttons to the Acrobat Toolbar, and defining special variables and functions that will be used by other scripts. Many operations forbidden in a document script are allowed in a Folder Level script. Because Folder Level scripts are in a special location on the user’s system, as opposed to scripts in a document whose origin is unknown, they enjoy a high level of trust. Acrobat loads and runs these scripts on startup. The “Folder” in Folder Level means these scripts are files on the user’s hard drive, i.e., in a directory file folder. These scripts are often called Acrobat JavaScript plug-ins because in many ways they act like, and at the user level are indistinguishable from, an Acrobat plug-in. Prerequisites: Familiarity with Acrobat Professionalįolder Level scripts are important for automating workflows, modifying the Acrobat user interface, and providing custom programming resources to other scripts. Scope: Acrobat Professional 6.0 and greater
0 Comments
Leave a Reply. |