7 Replies Latest reply on Aug 18, 2015 7:14 AM by Trevorׅ

    Indesign Server?

    BEGINNER_X Level 3

      Hi All,

       

      We developed Javascript for the Indesign Document Cleanup with around 10 GREP Points.

      This should be working fine in our end.

       

      FYI., very new to Indesign Server


      Request:

      Customer request is move this script to Indesign Server.

       

      Question:

      1. What is Indesign Server?

      2. What is difference between Local System Javascript and Indesign Server

      3. Advantages or Disadvantages of using Indesign Server

      4. How we move local script to Indesign Server

      5. Need to spend any amount to buy licence etc...?

       

      Need answers in simple format. So that I understand the concept.

       

       

      Thanks in Advance

      Siraj

        • 1. Re: Indesign Server?
          Vamitul Level 4

          Hi Siraj,

          To keep this simple, from your perspective as a scripter, there is little difference between Indesign Desktop and Indesign Server.
          Indesign Server has no user interface so a few calls are different. Document.exportFile() for example, on Desktop supports the following parameters:

          exportFile (format:Varies, to:File, [showingOptions:Boolean=Boolean], using:PDFExportPreset, versionComments:String, [forceSave:Boolean=Boolean])

          while on Server, since server has no UI, thus it cannot show a Save Options Dialog:

          exportFile (format:Varies, to:File, using:PDFExportPreset, versionComments:String, [forceSave:Boolean=Boolean])

           

          Also, properties like activeDocument, activeWindow etc are not available since they relate to Indesign Desktop's window.

          Instead of activeDocument, you can use app.documents[0].

          • 2. Re: Indesign Server?
            Laubender Adobe Community Professional & MVP

            Hi Siraj,

            and there is no way to select() page items or text.

            So app.copy(), app.paste() : no way of doing this with Server.

             

            No way to access menu commands. (There is no UI, no menus)

            It might sound paradox, but document.viewPreferences is available.

             

            See here for the details, Jongware provided DOM documentation for Server CS5, CS5.5 and CS6:

            Indesign JavaScript Help

             

            Uwe

            • 3. Re: Indesign Server?
              Harbs. Level 6

              1. What is Indesign Server?

              A headless version of InDesign, licensed to run on a server and has no UI at all.

               

              2. What is difference between Local System Javascript and Indesign Server

              Only commands related to UI.

               

              3. Advantages or Disadvantages of using Indesign Server

              Advantages:

              * Legal to run on a server

              * Somewhat faster due to the fact that there is no UI overhead

              * Ability to run multiple instances and a certain amount of multi-threading if you use SOAP

              Disadvantages:

              * No UI. (It can not be used as a replacement to InDesign Desktop.)

              * Very expensive.

               

              4. How we move local script to Indesign Server

              You either install it or pass it to InDesign Server in a SOAP request (or similar)

               

              5. Need to spend any amount to buy licence etc...?

              Yes. It can cost tens of thousands of dollars.

              • 4. Re: Indesign Server?
                BEGINNER_X Level 3

                Thanks a lot vamitul....

                Surely this should be very helpful.

                 

                1. On which kind of scenario we use Indesign server. What is the use of this.

                 

                2. Any cost for this.

                 

                Thanks in Advance

                • 5. Re: Indesign Server?
                  Harbs. Level 6

                  Harbs. wrote:

                   

                  2. What is difference between Local System Javascript and Indesign Server

                  Only commands related to UI.

                  There's also some server-specific APIs (i.e. check out app.serverTest() app.serverSettings app.serverAdminPort and app.serverHostName)

                  • 6. Re: Indesign Server?
                    BEGINNER_X Level 3

                    Thanks a lot for All LEGENDS....

                    • 7. Re: Indesign Server?
                      Trevorׅ Adobe Community Professional

                      There are some free options which could be useful if you don't have tens of thousands of dollars floating around.

                      InDesign CC Server | Buying guide

                       

                      P.s. If this post saves you tens of thousands of dollars then you can send me a tip