Applying actions and scripts to PDFs
- Acrobat User Guide
- Introduction to Acrobat
- Workspace basics
- Opening and viewing PDFs
- Working with online storage accounts
- Acrobat and macOS
- Acrobat notifications
- Grids, guides, and measurements in PDFs
- Asian, Cyrillic, and right-to-left text in PDFs
- Workspace basics
- Creating PDFs
- Editing PDFs
- Edit text in PDFs
- Edit images or objects in a PDF
- Rotate, move, delete, and renumber PDF pages
- Edit scanned PDFs
- Enhance document photos captured using a mobile camera
- Optimizing PDFs
- PDF properties and metadata
- Links and attachments in PDFs
- PDF layers
- Page thumbnails and bookmarks in PDFs
- Action Wizard (Acrobat Pro)
- PDFs converted to web pages
- Setting up PDFs for a presentation
- PDF articles
- Geospatial PDFs
- Applying actions and scripts to PDFs
- Change the default font for adding text
- Delete pages from a PDF
- Scan and OCR
- PDF forms basics
- Create a form from scratch in Acrobat
- Create and distribute PDF forms
- Fill in PDF forms
- PDF form field properties
- Fill and sign PDF forms
- Setting action buttons in PDF forms
- Publishing interactive PDF web forms
- PDF form field basics
- PDF barcode form fields
- Collect and manage PDF form data
- About forms tracker
- PDF forms help
- Send PDF forms to recipients using email or an internal server
- Combining files
- Combine or merge files into single PDF
- Rotate, move, delete, and renumber PDF pages
- Add headers, footers, and Bates numbering to PDFs
- Crop PDF pages
- Add watermarks to PDFs
- Add backgrounds to PDFs
- Working with component files in a PDF Portfolio
- Publish and share PDF Portfolios
- Overview of PDF Portfolios
- Create and customize PDF Portfolios
- Sharing, reviews, and commenting
- Share and track PDFs online
- Mark up text with edits
- Preparing for a PDF review
- Starting a PDF review
- Hosting shared reviews on SharePoint or Office 365 sites
- Participating in a PDF review
- Add comments to PDFs
- Adding a stamp to a PDF
- Approval workflows
- Managing comments | view, reply, print
- Importing and exporting comments
- Tracking and managing PDF reviews
- Saving and exporting PDFs
- Enhanced security setting for PDFs
- Securing PDFs with passwords
- Manage Digital IDs
- Securing PDFs with certificates
- Opening secured PDFs
- Removing sensitive content from PDFs
- Setting up security policies for PDFs
- Choosing a security method for PDFs
- Security warnings when a PDF opens
- Securing PDFs with Adobe Experience Manager
- Protected View feature for PDFs
- Overview of security in Acrobat and PDFs
- Attachments as security risks
- Allow or block links in PDFs
- Electronic signatures
- Accessibility, tags, and reflow
- Searching and indexing
- Multimedia and 3D models
- Add audio, video, and interactive objects to PDFs
- Adding 3D models to PDFs (Acrobat Pro)
- Displaying 3D models in PDFs
- Interacting with 3D models
- Measuring 3D objects in PDFs
- Setting 3D views in PDFs
- Enable 3D content in PDF
- Adding multimedia to PDFs
- Commenting on 3D designs in PDFs
- Playing video, audio, and multimedia formats in PDFs
- Add comments to videos
- Print production tools (Acrobat Pro)
- Preflight (Acrobat Pro)
- PDF/X-, PDF/A-, and PDF/E-compliant files
- Preflight profiles
- Advanced preflight inspections
- Preflight reports
- Viewing preflight results, objects, and resources
- Output intents in PDFs
- Correcting problem areas with the Preflight tool
- Automating document analysis with droplets or preflight actions
- Analyzing documents with the Preflight tool
- Additional checks in the Preflight tool
- Preflight libraries
- Preflight variables
- Color management
You can cause an action to occur when a bookmark or link is clicked, or when a page is viewed. For example, you can use links and bookmarks to jump to different locations in a document, execute commands from a menu, and perform other actions. Actions are set in the Properties dialog box.
For bookmarks or links, you specify an action that occurs when the bookmark or link is clicked. For other items, such as pages, media clips and form fields, you define a trigger that causes the action to occur and then define the action itself. You can add multiple actions to one trigger.
The Locked option prevents the appearance and actions associated with an object from being accidentally changed.
Add an action to bookmarks, form fields, buttons, or clips
Do one of the following:
Using the Hand tool, right-click the bookmark, and choose Properties.
Using the Tools > Rich Media > Select Object tool, double-click the link, media clip, or form field, and choose Properties.
Click the Actions tab.
From the Select Action menu, select the action type to occur, and then click Add. You can add multiple actions; actions execute in the order that they appear in the Actions list box.
(Optional) Select an action in the Actions tab, and use the buttons to reorder, edit, or delete the action.
Click OK to accept the actions. To close the Rich Media tool, click the cross icon at the right-end of the toolbar.
Add actions to page thumbnails
To enhance the interactive quality of a document, you can specify actions, such as changing the zoom value, to occur when a page is opened or closed.
Click the Page Thumbnails button on the left.
Select the page thumbnail corresponding to the page, and choose Page Properties from the options menu .
Click the Actions tab.
From the Select Trigger menu, choose Page Open to set an action when the page opens, or choose Page Close to set an action when the page closes.
Choose an action from the Select Action menu, and click Add.
Specify the options for the action, and click OK. The options available depend on the action selected.
To create a series of actions, choose another action from the menu, and click Add again. Use the Up and Down buttons to arrange the actions in the order you want them to occur.Note:
If you set an action that switches to Full Screen view on Page Open or Page Close, the next time the same page opens or closes, Full Screen view is turned on.
Close all opened dialog boxes, if any. Click the cross icon at the right-end of the toolbar to close the tool.
You can assign the following actions to links, bookmarks, pages, media clips, and form fields:
Execute A Menu Item
Executes a specified menu command as the action.
Go To A 3D/Multimedia View
Jumps to the specified 3D view.
Go To A Page View
Jumps to the specified destination in the current document or in another document.
Import Form Data
Brings in form data from another file, and places it in the active form.
Multimedia Operation (Acrobat 9 And Later)
Executes a specified action for a multimedia object in the file (such as playing a sound file). The multimedia object must be added to the file before you can specify an action for it.
Open A File
Launches and opens a file. If you are distributing a PDF file with a link to another file, the reader needs the native application of that linked file to open it successfully. (You may need to add opening preferences for the target file.)
Open A Web Link
Jumps to the specified destination on the Internet. You can use http, ftp, and mailto protocols to define your link.
Play A Sound
Plays the specified sound file. The sound is embedded into the PDF document in a cross-platform format.
Play Media (Acrobat 5 Compatible)
Plays the specified QuickTime or AVI movie that was created as Acrobat 5-compatible. The specified movie must be embedded in a PDF document.
Play Media (Acrobat 6 And Later Compatible)
Plays a specified movie that was created as Acrobat 6-compatible. The specified movie must be embedded in a PDF document.
Read An Article
Follows an article thread in the active document or in another PDF document.
Reset A Form
Clears previously entered data in a form. You can control the fields that are reset with the Select Fields dialog box.
Set Layer Visibility
Determines which layer settings are active. Before you add this action, specify the appropriate layer settings.
Show/Hide A Field
Toggles between showing and hiding a field in a PDF document. This option is especially useful in form fields. For example, if you want an object to pop up whenever the pointer is over a button, you can set an action that shows a field on the Mouse Enter trigger and hides a field on Mouse Exit.
Submit A Form
Sends the form data to the specified URL.
Triggers determine how actions are activated in media clips, pages, and form fields. For example, you can specify a movie or sound clip to play when a page is opened or closed. The available options depend on the specified page element.
You can use the following triggers for media clips and form fields (not links or bookmarks):
Mouse Up (Acrobat Pro)
When the mouse button is released after a click. This is the most common button trigger, because it gives the user one last chance to drag the pointer off the button and not activate the action.
Page Visible (media clips only)
When the page containing the media clip is visible, regardless of whether it is the current page. It’s possible for a page to be visible without being the current page, such as when a continuous page layout displays pages side-by-side.
Page Invisible (media clips only)
When the page containing the media clip is moved out of view.
Page Enter (media clips only)
When the page containing the media clip becomes the current page.
Page Exit (media clips only)
When a user leaves the page that contains the media clip.
When the mouse button is clicked (without being released). In most cases, Mouse Up is the preferred trigger.
When the pointer enters the field or play area.
When the pointer exits the field or play area.
On Receive Focus (media clips only)
When the link area receives focus, either through a mouse action or tabbing.
On Lose Focus (media clips only)
When the focus moves to a different link area.