How to automate photoshop from the command line.

Posted by Raymond on Super User See other posts from Super User or by Raymond
Published on 2009-12-04T05:41:24Z Indexed on 2010/04/20 4:43 UTC
Read the original article Hit count: 330

Filed under:

I have a tool which writes some tags to a photo. On some photos it fails, and for those I want to open them in photoshop, and resave it with maximum quality (jpeg). Ideally I would like to do that from the command line as then I can just do:

for %a in (*.jpg) do mytool.exe "%a" || [AUTOMATED PROCESS HERE]

I tried first just doing photoshop.exe "%a" but it seems photoshop doesn't even accept a command line argument for what photo to open.

© Super User or respective owner

Related posts about photoshop