Skip to main content
lionelr93521436
Known Participant
Dec 1, 2018 2:14 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

6 replies

JR Boulay
Community Expert
Community Expert
Feb 2, 2019 11:19 AM UTC

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

app.execMenuItem("InsertPages");

Translate
Acrobate du PDF, InDesigner et Photoshopographe
lionelr93521436
Known Participant
Feb 1, 2019 4:11 PM UTC

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...

Translate
Legend
Feb 1, 2019 5:08 PM UTC

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

Translate
lionelr93521436
Known Participant
Feb 1, 2019 1:23 PM UTC

Does anyone have the JavaScript code to do this?

It will be very helpful.

Thank you All.

Translate
try67
Community Expert
Community Expert
Feb 1, 2019 1:34 PM UTC

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.

Translate
Bernd Alheit
Community Expert
Community Expert
Dec 1, 2018 4:28 PM UTC

You can create your own dialog.

Translate