Copy link to clipboard
Copied
Does Acrobat Pro DC have problems using JavaScript to modify its user interface (e.g., menus) in the old Acrobat interface?
Background:
I am trying to add an "Extract Pages" entry to the old Acrobat view's Edit menu using JavaScript. For the JavaScript code, see https://community.adobe.com/t5/acrobat-discussions/request-for-keyboard-shortcut-to-extract-pages/td....I am using Windows 10 and 64-bit Acrobat Pro DC version 2024.002.21005.
After I place the "Extract Pages" JavaScript file in Acrobat DC's Javascripts folder, Acrobat Pro DC produces the error message "Windows - Application Error The instruction at 0x000000005E048170 referenced memory at 0x0000000005E048170. The memory could not be written. Click on OK to terminate the program." a minute or 2 after I open a large PDF file (e.g. >1 megabyte) with Acrobat Pro DC.
As a puzzling modification to this behavior, Acrobat Pro DC does not produce the "Windows - Application Error" message with the "Extract Pages" JavaScript file after I first open a small PDF file (e.g., <100 kilobytes). After opening a small PDF file, I can open very large PDF files (e.g., >10 megabyte) without seeing the "Windows - Application error" message.
As another recent example of Acrobat's "Windows - Application Error" about referenced memory, see https://community.adobe.com/t5/acrobat-discussions/windows-application-error-referenced-memory-could....
Copy link to clipboard
Copied
Type "Acrobat" in the Windows search field. When the app comes up, right-click it and select "Open file location". Right-click the Adobe Acrobat icon and select "Troubleshoot Compatiblity". Click "Try recommended settings". That should fix the error but you might have to change some of your settings in Edit > Preferences back the way you had them.
Copy link to clipboard
Copied
Type "Acrobat" in the Windows search field. When the app comes up, right-click it and select "Open file location". Right-click the Adobe Acrobat icon and select "Troubleshoot Compatiblity". Click "Try recommended settings". That should fix the error but you might have to change some of your settings in Edit > Preferences back the way you had them.
Copy link to clipboard
Copied
Excellent recommendation! It cured my JavaScript problem.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more