Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Current Adobe Reader 9.4.2 allows you to press Ctrl+R to reload an opened PDF. However, there seems to be no way to add that functionality to the toolbar.

Do you know of any custom scripts that would allow me to add such a reload button?

share|improve this question
up vote 1 down vote accepted

I found the following JavaScript code via Google:

reloadCurrentDoc = app.trustedFunction( 
 function(currentDoc) { 

 cName: "reloadCurDoc", 
 cUser: "Reload", 
 cParent: "File", 
 cExec: "reloadCurrentDoc(;", 
 cEnable: "event.rc = ( != null);", 
 nPos: 0 

 cName: "reloadCurDoc", 
 cExec: "reloadCurrentDoc(;", 
 cToolText: "Reload the current document", 
 cEnable: "event.rc = ( != null);", 
 cLabel: "Reload ", 
 nPos: -1 

I then saved this under ~/.adobe/Acrobat/9.0/JavaScripts/reloadButton.js and now I get an additional toolbar containing a "Reload" button that does exactly what I need.

Things to improve:

  • The toolbar pops up with a delay, not sure that can be fixed.
  • You can reload without an open document -> NPE.
  • The button is always added in a separate toolbar, I'd love to add it just to the other ones.
  • The code also seems to add a menu item, I haven't yet checked if I can simply remove that part.

If you got any suggestions on how to improve this answer, please leave a comment.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .