Command Line in Photoshop CS?

W
Posted By
wrybread
Feb 18, 2005
Views
840
Replies
3
Status
Closed
I searched the groups and can’t find any info on this. I’m trying to pass Photoshop a command line that will either execute an action or (preferred) a script. I have a working javascript, works fine from within Photoshop, I just need to execute it from another application, hence the command line.

Has anyone figured this out?

Thanks for any help.

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

J
jjs
Feb 18, 2005
wrote in message
I searched the groups and can’t find any info on this. I’m trying to pass Photoshop a command line that will either execute an action or (preferred) a script.

Your search must have broken because it’s been covered in dozens of threads specifically addressing command-line processing. Use Google’s Group search and search on "command line" and "Warren Sarle" for a heavy hit. Warren includes a reference to a javascript that can be run _inside_ PS as well.

A short answer here about the command-line in particular: you can have PS create a Droplet (an executable) which can be used at any time in the future. The droplet can be called from the command line along with the file or folder name you wish act upon – be certain the file or folder name is fully specified (device, path…)

For example: d:\clienta\imagesa\drop_copyright.exe
d:\clienta\imagea\massive\
W
wrybread
Feb 18, 2005
Thanks, that worked great.

Does anyone know how to send more than one image to the droplet? I need to take 4 images and assemble them in a vertical column like a photobooth picture strip.

The problem is the 4 images changes each time the script is run. It’s the last 4 pics in the directory, which have the highest number (for example, booth024, booth025, etc.). If I can send the 4 images to the droplet, I can have a script generate the names before reaching photoshop.
J
jjs
Feb 18, 2005
wrote in message
Thanks, that worked great.

Does anyone know how to send more than one image to the droplet? I need to take 4 images and assemble them in a vertical column like a photobooth picture strip.

Put the four images into an otherwise empty folder and pass the folder name.

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections