Launch photoshop action using code

2019-02-07 09:58发布

Is it possible to launch Photoshop action using code? I mean launch the action in Photoshop via a batch file? Or something like that?

2条回答
Bombasti
2楼-- · 2019-02-07 10:28

I believe so but I have not tried it myself. The PS6 JavaScript API has a method called doAction() that might be what you are looking for.

http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/cs6/Photoshop-CS6-JavaScript-Ref.pdf

查看更多
我命由我不由天
3楼-- · 2019-02-07 10:41

Newer versions of Photoshop (CS5 and CS6 are the only ones I've worked with) support a feature called Droplets that lets you create executables to run a set of actions.

Check here for detailed information on creating and running the droplet. Will update this answer with the steps shortly.

查看更多
登录 后发表回答