0.7.0 • Published 4 years ago

fakestk v0.7.0

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

Fakestk

Fakestk (Fake ESTK) Adobe ExtendScript(JSX) simple command runner.

  • auto detection of CS application name

Version can be specified in target. #target indesign-7.0 and @target InDesign CC-2018 both work. When no version is specified (#target indesign), Fakestk will target the first running version it can find. Make sure your target is running! See versions.json

  • accept stdin
  • from $.write and $.writeln output to stdout
  • currently OSX only

Usage

$ npm install -g fakestk

then

$ fakestk /path/to/script.jsx

or

$ fakestk /path/to/script.jsx -t indesign-13

or

$ less /path/to/script.jsx | fakestk
$ echo "#target indesign-7.0\nalert('hello!');" | fakestk

or with jsx-manifest

$ npm install -g jsx-manifest
$ jsx_manifest -b binding.json manifest.js | fakestk

or

$ npm install fakestk

then

var fakestk = require('fakestk');
 
// script => filepath or script-content
 
// with callback
fakestk.run(script,function(err,result){
  if(err) return console.log(err.toString());
  if(result!==""){
    console.log(result);
  }
});
 
// without callback
var exec = fakestk.run(script);
exec.on('error',function(err){ console.log(err) });
exec.on('data', function(data){ console.log(data) });
0.7.0

4 years ago

0.6.0

6 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.2.4

9 years ago

0.2.3

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

12 years ago

0.0.1

12 years ago