Skip to main content
Ryan_Oliver_02445
Known Participant
February 6, 2019
Question

My Javascript is over 1000 lines, so Editing it for too long crashes my Adobe. Is there a way to fix this?

  • February 6, 2019
  • 1 reply
  • 1099 views

The question itself is pretty much the short of it.

My Javascript has become too large, and It sometimes crashes on me when I attempt to edit it for too long.

Is there a way to fix this?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 6, 2019

Don't edit the code within Acrobat. Use a proper code editor (I like to use Notepad++), but not as an "external editor". I write all the code there, and then copy it and paste into Acrobat's built-in editor when ready.

Ryan_Oliver_02445
Known Participant
February 6, 2019

That's what I've resorted to doing now, it makes creating the code SO much easier.

In your experience, what is the largest script you've written within Acrobat?

Ryan_Oliver_02445
Known Participant
February 6, 2019

Hard to say... Must be at least 10K lines of code. At some point it gets too large for the built-in editor and you have to either split it or use an external editor to enter it. In that situation I prefer to use Notepad, as it's the most basic and simple one to use.


Well, that is good to know because it seems I just hit the cap for how much code I can have for the in-built Acrobat editor. 

I just set up Notepad as my external editor.   How does one access the javascript in the notepad file?