Free Acrobat Automation Tools
This toolbar привожу ссылку activates the automation script. Note: Automation Tool installation instructions and trouble приведу ссылку guide. It operates in both Acrobat and Reader, and on any version of Acrobat after version 7. It demonstrates using menu items and trusted functions in an automation script. Find Required Fields Have a large form and need to figure out which fields are already marked as Required?
This tool finds and lists all required fields in a popup menu. Selecting a menu item places the keyboard focus on that field. A Great consile for any form developer. Good for fixing up scanned PDFs. Flatten Page Content Tool This toolbar button flattens interactive elements, such as form fields, into the page content.
Suppose a document needs to be checked for branding purposes, i. The following code uses a simple loop to display this color info in the Console Window for manual inspection:. Because of the loop, this code cannot be executed one line at a time.
It has to be done all at once. Notice that in the loop there is a function called console. It’s in the fourth line. This function writes text to the Console Window and it will be discussed in the next section. Here’s an example of a function that does not have an easy equivalent on the regular Acrobat menus and toolbars. Enter the following line into the Console Window and run it:. Acrobat will create a new, blank PDF document.
This is perfect for trying out new ideas before applying them to a working document. The results of this operation are shown in Figure 7 below. Note that yet again, the result is something different.
The result shown in Figure 7 tells us the type of object created. This result is only useful in letting us know the function worked. If app. Both of these situations would have been displayed in the Console Window.
The path property is exactly what you might think it should be. It’s the folder path of the current document. Since the current document was just created with app.
In addition, you can create your own status and error messages to display here. As an example, let’s execute something that will cause an error. Enter and run the following line of code in the Console Window:. This line of code instructs Acrobat to open a file xx. Acrobat responds by generating an error, which is displayed by the Console Window, shown in Figure 8. This message is critical to understanding why the code failed, especially if the function call is buried in several lines of code inside another script.
Always check the Console Window first when something goes wrong. Note that the second message on the line indicates a security error. For our purposes, this is an erroneous and unhelpful message. There was no real security error, and while it may then seem that Adobe is deliberately trying to either terrify or confuse us, there is a reason the message is being displayed.
Follow the on-screen instructions to sign in and install. Your Adobe ID is the email address you used when you first started a trial or purchased an Adobe app or membership.
Download Acrobat DC. Frequently asked questions. Forgot your Adobe ID or password? I cannot find the downloaded setup file. Where has the file gone? If you cannot find the downloaded file, do the following: On Windows: Open Windows Explorer and then select the Downloads folder in the left navigation pane.
Double-click the downloaded EXE file. On Mac: Open the Finder and then select the Downloads folder in the left navigation pane.
Double-click the downloaded DMG file. Can I install Acrobat DC on another computer? Sign in to your account. Sign in. Quick Links View your apps Manage your plans.