Is it possible to launch Photoshop action using code? I mean launch the action in Photoshop via a batch file? Or something like that?
Playing the action Whenever you want to use your action, simply select the action in the window, and click the play button, on the bottom right of the action panel. Your action will then cycle through the steps on your chosen work.
Open the Action Panel in PhotoshopOpen Photoshop and go to the "Window" tab in the top menu bar. Then click on "Actions" in the dropdown. Your action panel will pop out.
Go to File > Scripts > Browse. Navigate to your script, and then press open. Your script will immediately run. If you would like to see your script in this script menu, then you need to copy it into the appropriate folder.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With