0 Replies Latest reply on Mar 30, 2015 2:49 AM by Trung.vu

    How to define script object for plug-in

    Trung.vu Level 1

      hi all,

       

      I'm new developer in InDesign Server.

      I'm having a look at the SnipRunner & BasicPersistInterface.

      In the file SnippetRunner.jsx:

       

      // get the SDKCodeSnippetRunner object

      var snippetRunner = app.sdkCodeSnippetRunnerObject;

       

      In the file BasisPersitInterface.jsx:

      app.basicpersistinterfacePreferences.bpiData = "default";

      if (app.basicpersistinterfacePreferences.bpiData != "default") {}

       

      really, I dont understand where & how to define the "sdkCodeSnippetRunnerObject" & "basicpersistinterfacePreferences" in the source code of plug-ins written in C/C++

      so anyone can help me on this?

       

      thanks