Chillaso / add-js-to-pdf

Simple script to add JS to a PDF using python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF JavaScript Inserter

This repository contains a Python script that allows you to embed JavaScript code into a PDF file. This can be useful for automating actions when the PDF is opened, such as displaying a message or triggering the print dialog.

Requirements

  • Python 3
  • PyPDF2 (version 3.0.0 or higher)

You can install PyPDF2 using pip:

pip install pypdf2

About

Simple script to add JS to a PDF using python


Languages

Language:Python 100.0%