1 Reply Latest reply on Jun 9, 2011 8:57 AM by emerasoft.srl

    Perl client for InDesign Server

    Shunmuga Raj

      Please help to setup a perl client for InDesign server to run javascripts: Below is the code I tried to run "MakeDocument.jsx"


      use SOAP::Lite;


        use CGI::Carp qw(fatalsToBrowser);


        my $soap = SOAP::Lite->new(proxy=>'');


        my %script_parameters = ( "scriptFile"=>"MakeDocument.jsx", "scriptLanguage"=>'javascript');


        my $result = $soap->call('RunScript',%script_parameters)->result;


        print $result;