Skip to main content
Known Participant
March 22, 2022
Question

Adobe doesn't generate JSEdit.js in Temp for External Editor

  • March 22, 2022
  • 3 replies
  • 1423 views

Hey guys, I've got a weird issue that I'm pretty sure is caused by my work's local security policies:

 

I use Notepad++ as my external editor. Recently (like 7 months ago), I found I wasn't able to use it. When I try to open a script through Adobe Acrobat into the external editor, Notepad++ opens with the following error: "C:\Users\130027~1\AppData\Local\Temp\acrobat_sbx\Adobe\Acrobat\DC\JSEdit.js" doesn't exist. Create it?

Options are 'Yes' and 'No'. 'Yes' creates a blank file JSEdit.js, which will load back into Adobe Acrobat just fine. 'No' creates the standard new file, which I can manually save as JSEdit.js and then Adobe Acrobat will load it on close.

 

My home copy of Adobe Acrobat Pro 2017 doesn't have this issue. 

 

My questions:

  1.  If I'm right and this is security policy blocking Adobe Acrobat from writing to it's own temp directory, is there a way I can point this at another direct that Acrobat does have write access to?
  2.  Is there another way I can pull scripts out of a PDF that doesn't require writing to the Temp directory?

 

I've been using the built in editor for the past 7 months, but this has come to a head as I have to completely restructure and redesign the (currently) 35 scripts in my main project due to performance issues.

 

I appreciate any help y'all can give me.

-Azure's Skye

This topic has been closed for replies.

3 replies

Bernd Alheit
Community Expert
March 24, 2022

What happens when you use the internal editor?

Known Participant
March 24, 2022

It works fine. It's just... very not great. I can't pull up "All Document JavaScripts" if I need to make a document wide variable or function change.

try67
Community Expert
March 23, 2022

Try it with Notepad.

Known Participant
March 23, 2022

Sadly, Notepad didn't work either. 

try67
Community Expert
March 23, 2022

Go to Help and run a Repair Installation.

BarlaeDC
Community Expert
March 23, 2022

HI,

 

I don't know about a way to change the location but you could use the "All JavaScript" tool and just copy and paste it to an external editor, do you edits and then copy it back, it is not perfect but might be prefereable to the infernal editor.

Known Participant
March 23, 2022

Thanks for the reply. Unforunately, "All JavaScript" isn't an option because my total JavaScript exceeds the capability of the Internal JavaScript editor. Specifically, I get this error: "Text cannot be displayed in full by the Edit Dialog. Please use an External Editor."