Skip to main content
lionelr93521436
Known Participant
December 1, 2018
Question

How to create a Button with Add Page Dialog Box Javascript in Acrobat Pro DC

  • December 1, 2018
  • 4 replies
  • 1105 views

Hi,

i want to use the same Dialog Box that uses Acrobat DC for Insert Page and Location but in a button using Javascript for a Acrobat Form.

Thank you ALL..

This topic has been closed for replies.

4 replies

JR Boulay
Community Expert
February 2, 2019

You don't need to reinvent the wheel with JavaScript, just run the menu item from your button using this script:

app.execMenuItem("InsertPages");

Acrobate du PDF, InDesigner et Photoshopographe
lionelr93521436
Known Participant
February 1, 2019

I am not looking that you do the work for me. But if you can, I would appreciate (LOL). I try so many different ways to do it exactly as Acrobat Dialog Box that my head burns.

Thanks to all...

Brainiac
February 1, 2019

If you want help with your code, please post your code! Describe exact effect too.

lionelr93521436
Known Participant
February 1, 2019

Does anyone have the JavaScript code to do this?

It will be very helpful.

Thank you All.

try67
Community Expert
February 1, 2019

It seems like you want us to do your work for you. That's not how these forums work. Creating dialogs in Acrobat JavaScript is a very complex task that requires knowledge of how it works, and quite a bit of effort and time in doing it correctly.

We're happy to teach you how to do it, or do it for you (for a fee). If you're interested in the latter feel free to contact me privately (try6767 at gmail.com) to discuss it further.

Bernd Alheit
Community Expert
December 1, 2018

You can create your own dialog.