4 Replies Latest reply on May 15, 2018 5:59 AM by m.jafar

    Perl client for InDesign Server

    Shunmuga Raj Level 1

      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;