@BruceG4266840, thanks for the screenshots. They pinpoint it, and you are right that you do not need the debugger.
PageLabel.js is a folder-level script, not a document script. Acrobat loads it automatically at startup, and it adds its command for you to use. You never select it from inside Acrobat. The JavaScript tool you have open only manages scripts embedded inside the open PDF, so it will never list a folder-level file like PageLabel.js. That tool not finding it is expected, not the bug.
The real cause is the folder. Your screenshot shows the file in:
C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Javascripts
That is the 32-bit path from your old version. The current Acrobat is 64-bit and loads scripts from a folder under Program Files without the "(x86)". The upgrade did not move the file, so the new version never loads it.
- Open any PDF, press Ctrl+J, type the line below, and run it with Ctrl+Enter to get the exact folder your install uses (likely C:\Program Files\Adobe\Acrobat DC\Acrobat\Javascripts):
app.getPath("app", "javascript"); - Fully close Acrobat, then copy PageLabel.js into that folder (Program Files needs admin rights). No admin rights? Run app.getPath("user", "javascript"); instead and use that per-user folder.
- Check Menu > Preferences > JavaScript and confirm Enable Acrobat JavaScript is on.
- Restart Acrobat.
Let us know how it goes.
Regards,
Anand Sri.