PS Scripting: How To Run A Photoshop Script without Running it From Photoshop
Running a Photoshop Script without Running it From Photoshop
1. Record an action that calls the script you want to execute.
2. Create a droplet from the action created in step 1.
3. Call the droplet from the command line with an image file as the sole parameter. The path to the image file probably needs to be an absolute one.
Many thanks to xbytor for teaching us how to do this via ps-scripts!