Skip navigation
Rafael Paz2
Currently Being Moderated

Manipulate Indesign(client) from a Java application

Jul 24, 2012 7:44 AM

Tags: #java #server #client #indesign

Hello, I need to manipulate Indesign client(open/close documents, create menus, tables, set colors etc... ) but I need to do that from a Java application. Is it possible? I was searching on google about it, even in Adobe's site, but the only way I found was thought Javascript, VbScript or AppleScript.

 

 

Thanks in advance!

 

Rafael

 
Replies
  • Currently Being Moderated
    Jul 24, 2012 8:02 AM   in reply to Rafael Paz2

    I believe that would violate the licence agreement since effectively you are making indesign client into a server application.

     

    Ian

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 24, 2012 10:59 AM   in reply to Rafael Paz2

    You can do that in java by using jacob/com4j library which uses the COM interface. If you use com4j then you have to generate the java stubs using the .tlb file of Indesign.

     

    Swarup

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 24, 2012 9:50 PM   in reply to Rafael Paz2

    Yes I am sure. I would suggest you to go for com4j. Once you create the java stubs from the .tlb file of indesign you will get hold of the indesign classes in java. Then you can do all Indesign API calls from java.

     

    Swarup

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points