Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

acrobat xi -- can someone recommend a good, in-depth, tutorial/reference for creating custom dialogs

Explorer ,
Nov 10, 2016 Nov 10, 2016

I need to find a good, in-depth, tutorial/reference for creating custom dialogs.

One that starts at square one, not assuming I already know the Acrobat object model and Acrobat javascript intimately.

I want to create a custom dialog that prompts the user via radio buttons for the folder they want to save the current document to.  It's not going to be very complex, but I want to do it right.

I see numerous code samples here in the forums, but instead of trying to adapt examples I don't yet understand, I want a structured approach that will take me step by step through building my own.

Christian Bahnsen

TOPICS
Acrobat SDK and JavaScript , Windows
252
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 10, 2016 Nov 10, 2016

Unfortunately, there is no such thing - or at least I am not aware of anything that comes even close to what you are asking. Keep in mind that custom dialogs are among the most complex things you can do with Acrobat's JavaScript.

In order to create custom dialogs, you need a good understanding of JavaScript data structures. There is no way around that. You are basically creating an object when you create a dialog. You need to know how that is done in JavaScript in order to understand how the dialog object needs to be created.

You can find some tutorials on pdfscripting.com, but you will need a subscription to view them: Video Tutorials

Here is what I would suggest: Get familiar enough with JavaScript so that the examples in the Acrobat SDK will not scare you away. Then try to understand the documentation for app.execDialog() - that includes understanding all the examples.  You can find the documentation here: Acrobat DC SDK Documentation - app.execDialog()

If you need help to get started with Acrobat's JavaScript, take a look here: Beginning JavaScript for Adobe Acrobat

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 10, 2016 Nov 10, 2016
LATEST

To echo Karl, what you're asking for doesn't exist. I've been writing Acrobat JavaScript dialogs since at least Acrobat 7 and I'm still learning new techniques. Still, the best place to get started is pdfscripting.com. The time it saves you is worth the subscription.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines