C'est Chouette, Hein?
Home News Computers Languages Notes Bookmarks Contact Links

Using John Ford's PDF Bookmark 1.2 Plugin in Adobe Acrobat X (Adobe Acrobat 10.1.1 or higher) on Windows Vista and Windows 7.

First, if you do not have the 1.2 version of pdf_bookmarks.js, you may download it from John Ford's site here: http://johnford.is/downloads/pdf_bookmark.js

If you alredy had pdf_bookmark.js 1.2 installed from a previous version of Adobe Acrobat, copy your pdf_bookmark.js, glob.js, and glob.settings.js which were probably located here:
C:\Users\[UserName]\AppData\Roaming\Adobe\Acrobat\9.0\JavaScripts\

For the new version of Adobe, you need to make a new folder called "Privileged" and certain sub-folders. Here is the path you need to create:
C:\Users\[UserName]\AppData\Roaming\Adobe\Acrobat\Privileged\10.0\JavaScripts\

Inside this new folder path, paste your pdf_bookmark.js, glob.js, and glob.settings.js (or simply the pdf_bookmark.js that you downloaded from John Ford's site if you never used pdf_bookmark.js before).

Now, a change is needed to the actual pdf_bookmark.js code because the "Tools" dropdown menu no longer exists. Therefor, we will make a small change so that it adds the bookmark menu to the "File" dropdown instead. To do this, open pdf_bookmark.js in a text editor such as Notepad and change these lines:

// Add bookmark menu
app.addSubMenu({
	cName: translation.bookmark,
	cParent: "Tools",
	cExec: "void(0);",
	cEnable: "event.rc = (event.target != null);" 
});

To these lines:

// Add bookmark menu
app.addSubMenu({
    cName: translation.bookmark,
    cParent: "File",
    cExec: "void(0);",
    cEnable: "event.rc = (event.target != null);"
});

NOTE: The only change is cParent: "Tools", becomes cParent: "File",

Now, fire up a PDF and check that your bookmarks are working correctly. What happens is that your bookmark settings used to be stored in glob.js and glob.settings.js. However, in the new version of Adobe Acrobat, your bookmarks are saved to this file C:\Users\[UserName]\AppData\Roaming\Adobe\Acrobat\10.0\JSCache\GlobData Putting glob.js and glob.settings.js in the Privileged\10.0\JavaScripts\ folder causes them to run the first time Adobe Acrobat is launched. This in turn re-saves all your settings to the new GlobData file. Once you have ran Adobe Acrobat once with these files, your data is saved, and you will need to delete glob.js and glob.settings.js from the Privileged\10.0\JavaScripts\ folder.

Copyright © 2008 JSS