Coder Social home page Coder Social logo

rkamysz / adobe-node Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 10.0 42 KB

Control Adobe applications - such as Photoshop, Animate, Illustrator, InDesign - from node. Run JavaScript to remotely - from the command line - create, modify or export document content. This module can be used to automate the workflow by creating an action chain that can be executed without user intervention.

License: MIT License

TypeScript 58.22% JavaScript 41.78%

adobe-node's People

Contributors

rkamysz avatar roms1383 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

adobe-node's Issues

AdobeApp.runScript never resolves

Hey @rkamysz ,

First of all: Thanks for starting this nice library :) It's quite a niche thing, but exactly what we needed for our automatisation process which involves some Adobe products (Photoshop & Illustrator).

Unfortunately I'm currently stuck with a little problem: The promise which is returned from triggering the custom scripts never resolve, so the application hangs. The logic inside the script is executed, but it feels like the callback gets lost somewhere. Is there a way to check if the adobe-broadcast was called and the callback data was received correctly?

Strangely it worked on my local machine where I used Photoshop CS6. Our main server runs Photoshop CC 2019 and Illustrator CC 2019. It also didn't work with Illustrator CC 2020 on my local machine. So it looks like it has to do with the used version?

When I'm back in office (probably next Wednesday), I can give it a try with Photoshop CC 2019 on my local machine.

Can't Run it

It seems good and I want to work with it but i cant run it ,

Cannot open Adobe Indesign

Hi, I have a problem here I am unable to open Adobe Indesign it gives an error saying broadcast is not a function.

Also if I do like this code below the app is launched

     app: {
       name: AdobeAppName.Photoshop,
       path: 'C:\\Program Files\\Adobe\\Adobe InDesign 2020\\InDesign.exe',
       adobeScriptsPath: 'C:\\Users\\d-Evil\\scripts'
     },
     host: 'localhost',
     port: 5000
   });

but there is an error saying cannot open the file open_app.jsx, Adobe Indesign may not support the file-format.
image

Additional informations

Hi @rkamysz, I found your library and it looks really amazing !

I personally wrote an automation script a couple of days ago for Illustrator (basically opening each file of a folder, tracing the image to vector, resizing artboard and exporting it as a SVG) and thought I could make good use of your library to automate it a little bit more (which is to say : open Illustrator automatically, remove already exported images after each batch and maybe some more).

I tried it first using a refactored version of my custom script, but there's something that I didn't understand.

As a fallback I tried the example shown in the README, simplified to only open and close Adobe Photoshop, but it only gives this output :

Adobe Event Listener running at localhost:5000

There's clearly something running but my Photoshop never get opened, it's just stuck indefinitely.

I double checked the software paths, potential JS issues and everything looks correct.
Is there the need for another Adobe technology to run it as a server or something ?

Thanks :)

Unable to get started

HI, I am very excited to start using this but I am struggling to get this working at all.

i keep getting messages saying
const sleep = (duration: number) => new Promise(resolve => { setTimeout(resolve, duration) });
^
SyntaxError: Unexpected token ':'

and so on when simply running your example script with the latest versions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.