Person with calculator and computer

PDFpen 12.2: Add Items to the Library With the Context Menu, and With PDFpenPro, JavaScript Editing

PDFpen and PDFpenPro version 12.2 is available now for all users. Version 12.2 offers some handy new features, including the ability to add items to the library faster using the context menu, updates for Big Sur compatibility, and fixes and improvements under the hood.

For PDFpenPro users, version 12.2 also introduces a scripting window for JavaScript editing. Have you ever needed to create interactive forms with calculations such as sum, product, or average? Or, perhaps you needed to add a date field to a document? Form designers can now edit or add JavaScript-based calculations and formatting to form fields. Advanced knowledge of JavaScript is required. 

New in PDFpen 12.2:

  • Add items to the library from the context menu
  • Adds JavaScript editing (PDFpenPro only)
  • Updates for Big Sur compatibility
  • Various fixes and improvement

Using the Context Menu to Add Items to the Library

Add selection to library from contect menu

The Library stores scribbles, icons, images, and text for quick access and reuse. To quickly add selected items to the library:

  1. Click to select an object on the page.
  2. Right-click (or hold down the Control key) to launch the context menu.
  3. Select “Add Selection to Library.”

Viewing and Editing JavaScripts

To view, edit, delete existing scripts or add new JavaScripts:

  1. Choose Window > Scripts to display the Script window.
  2. All JavaScripts currently included in the document are listed in the left pane. 
  3. Click to select an item in the left pane to display the JavaScript in the script editor pane on the right.
  4. Click inside the script editor pane to begin editing the script.
  5. Changes made to scripts will save automatically.
Edit or add JavaScript based calculations to form fields.

PDFpen/Pro only supports JavaScripts for Acroform PDF forms. It does not support JavaScripts for LiveCycle (XFA) documents. To learn more about Editing and Adding JavaScript-based calculations and formatting to form fields, please refer to our Help/ User Guide

How to Update or Upgrade

Are you already using version 12? Updating is free and straightforward. From the PDFpen menu, choose “Check for Update.” 

Mac App Store versions will be available after the standard review period.

Are you currently a PDFpen or PDFpenPro customer, but not yet using version 12? Upgrading is easy. Download v12 to upgrade. “What’s new in PDFpen/Pro” and “Detailed release notes” lists the benefits of the latest version.

New to PDFpen?

If you are a new PDFpen or PDFpenPro user, welcome to the PDFpen family! We are delighted to have you join us in your quest for greater productivity. We hope that PDFpen will add value to your paperless workflow.

PDFpen and PDFpenPro 12 require macOS 10.13 (High Sierra) and later. For macOS 10.12 (Sierra) and earlier, see our website for compatible PDFpen versions. Demo versions are available on our site. Full versions also available for purchase at:

Thank you for your support of PDFpen. As always, if you have any questions or comments, we want to hear from you.