Skip to content

Instantly share code, notes, and snippets.

@johnksv
johnksv / bookmarkToFooterAdobeDC.js
Last active May 15, 2024 11:52
Adobe acrobat DC - Add footer with bookmark text
var aRect = [];
//Hard coded values for bottom left corner of A4 page
aRect[0] = 24.218078613281250;
aRect[1] = 45.985595703125;
aRect[2] = 485.0216979980469;
aRect[3] = 10.20367431640625;
//Page number that bookmark maps to
var a = [];
//Bookmark name, corresponding to array a