Skip to main content
Participating Frequently
August 21, 2018
Answered

Using a javascript with Adobe Acrobat 11 Pro

  • August 21, 2018
  • 1 reply
  • 2494 views

I have a javascript that I used with Adobe Acrobat Pro 9. Adobe Acrobat 11 was installed on my computer and my I do not know how to get my javascript working. Can someone help me please.

This topic has been closed for replies.
Correct answer Bernd Alheit

Here is the start of my script. What in line 1 is the illegal character?

app.addMenuItem

{

  cName:"Annotate Doc File",

  cParent:"Edit",

  cExec:"AnnoDocFile.js;",

  cEnable:"event.rc = (event.target != null);",

  nPos:0

}

);


It can be a non-visible character. Delete the first lines and re-enter the code.

Info: the parameter cExec is incorrect.

1 reply

try67
Community Expert
Community Expert
August 21, 2018

What kind of a script? What does it do? Where is it located?

Participating Frequently
August 21, 2018

It adds the document name on one side and page number on other side (same page)  to every page.I have it in C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\Javascripts when I had Acrobat 9.In 11 I put it in C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\JavascriptsJane

On Tuesday, August 21, 2018, 11:38:45 a.m. EDT, try67 <forums_noreply@adobe.com> wrote:

Using a javascript with Adobe Acrobat 11 Pro

created by try67 in JavaScript - View the full discussion

What kind of a script? What does it do? Where is it located?

If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/10572486#10572486 and clicking ‘Correct’ below the answer

Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:

Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/10572486#10572486

To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"

Start a new discussion in JavaScript by email or at Adobe Community

For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

This email was sent by Adobe Community because you are a registered user.

You may unsubscribe instantly from Adobe Community, or adjust email frequency in your email preferences

Bernd Alheit
Community Expert
Community Expert
August 21, 2018

Does the script add a menu entry to Acrobat?