← newer 2026-10-12 older →

Run PDF Script

New Run PDF Script… (CmdRunPDFScript, right-click → Document, command palette) runs MuPDF JavaScript on the current PDF. It has an editor for the script, editable arguments, included example scripts, and shows what the script prints (stdout and stderr) without blocking the document window.

Configure Restricted Use

New Settings → Configure Restricted Use… (CmdConfigureRestrictedUse) creates, edits or deletes sumatrapdfrestrict.ini instead of editing it by hand. The policy list works with the mouse and arrow keys, checkboxes and Enter toggle a policy, and changes made in this session are bold. When the installation folder isn’t writable it offers to restart elevated; -configure-restricted-use opens the dialog in a new instance.
The Configure Restricted Use dialog with the list of policies