async-indesign-script
Talk to InDesign via node and get a callback.
Last updated 2 years ago by drwsy .
ISC · Original npm · Tarball · package.json
$ cnpm install async-indesign-script 
SYNC missed versions from official npm registry.

async-indesign-script

Talk to InDesign from node and get a callback. Mac only.

Quickstart

const path = require('path');
const InDesign = require('async-indesign-script');

const id = new InDesign({
    version: 'CC 2018'
});
id.run(path.join(__dirname, 'example.jsx'), {
    message: 'hi from node'
}, function(res) {
    console.log(res);
});

adobe jsx-script file

//@include async-indesign-script/src/jsx/NodeResponder.jsx

alert(data);

/**
 * Synchronous code...
 */

var responder = new NodeResponder();

/**
 * Tell node we're finished.
 */
responder.emit({
    message: 'YOUR DATA'
});

Current Tags

  • 1.0.4                                ...           latest (2 years ago)

5 Versions

  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |