Skip to main content
Participating Frequently
March 13, 2019
Question

FDK File object constructors

  • March 13, 2019
  • 1 reply
  • 1292 views

Hi All,

I like to transpose an ESTK script to a FDK command.
The ESTK script reads an XML file and set the content of some variables in a FM template file based on a key selection.
Key and variables data are all defined in the XML file.

All information about file object for an ESTK script are available in Adobe JS Tools Guide.

Where may I find similar information for a FDK development?

Thanks.

This topic has been closed for replies.

1 reply

Ian Proudfoot
Legend
March 13, 2019

You can find the FDK documentation at the FrameMaker developer centre: https://www.adobe.com/devnet/framemaker.html

The links to the PDF files are shown below the FDK installer download links.

Ian

Legend
March 13, 2019

Hi,

Along with what Ian said, I would like to add that the ES and FDK environments are quite different. While the library of FrameMaker-specific functions operate very similarly, everything else requires a different way of thinking. I say this because you specifically mention the "file" object, which does not exist in the FDK. In fact, the FDK has no concept of non-FrameMaker objects at all, unless you incorporate C++ code or do some fancy coding to simulate an object-oriented environment. Certainly, you can use standard C library functions to interact with the file system, but it is a different process entirely.

Typically, every aspect of the FDK is more difficult and less convenient, with the exception of the advanced IDE features of Visual C++, versus the ESTK. Visual C++ provides far better tools for code organization, navigation, and debugging. I don't know what your motivation to move from ES to the FDK, but I would think it through very carefully. I think that most developers now prefer ES for any project that can be reasonably coded in ES.

Russ