[pdftex] ``Reload'' function for Adobe Reader (Linux)
James Quirk
jjq at galcit.caltech.edu
Thu Jan 22 17:18:40 CET 2009
Martin,
On Thu, 22 Jan 2009, Martin Schröder wrote:
> 2009/1/22 Alexander Grahn <A.Grahn at fzd.de>:
> > I wrote a little JavaScript that adds a ``Reload'' item to the
> > ``File'' menu of Adobe Reader. It allows to reload the PDF document
> > currently viewed in the Reader to reflect the latest changes. The last
> > view (page number and zoom state) will be restored.
>
> Thanks a million!
>
> Next wishes: A keyboard shortcut and a toolbar button. :-)
To get a toolbar button, you need only add:
var oReloadButton = {
cName: "Reload",
cExec: "reloadCurrentDoc(event.target);",
cEnable: "event.rc = true",
cMarked: "event.rc = false",
cTooltext: "Reload Current PDF",
nPos: -1,
cLabel: "Reload"
};
app.addToolButton(oReloadButton);
to the JavaScript Alexander posted.
Cheers,
James
>
> Best
> Martin
> _______________________________________________
> pdftex mailing list
> pdftex at tug.org
> http://tug.org/mailman/listinfo/pdftex
>
More information about the pdftex
mailing list