Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an action I've created, and it is listed in my action palette:

Picture 2.png

The action takes the image on the clipboard and saves it to a file.

How can I start Photoshop and run that action from the command line?

share|improve this question
You might be able to create an AppleScript to do this for you, but it will take some tweaking. – user3463 Mar 26 '12 at 7:27
Do you need Photoshop for this? does this much more easily. – slhck Mar 26 '12 at 9:44
@slhck - are you saying I can script preview to take the clipboard and save it to a file? – cwd Mar 26 '12 at 13:04
Sure, just press Cmd-N, it'll create a new document from clipboard, then save it. I'm pretty sure that's easy to script with Automator, possibly the whole thing can be done without even. – slhck Mar 26 '12 at 18:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.