Skip to main content
Known Participant
March 28, 2022
Question

Run ExtendScript from CLI in macos

  • March 28, 2022
  • 2 replies
  • 321 views

How can I run a script from CLI in macos? e.g. `something src/script.js`?

This topic has been closed for replies.

2 replies

Inspiring
March 28, 2022

It feels like it would open up a possibility to go against the EULA of Photoshop, so I think it cannot be done.

 

After playing around a bit: The cli command is "start photoshop"

I didn't get that command to accept any parameters.

 

Check this thread for a bit more information on other peoples' efforts.

https://community.adobe.com/t5/photoshop-ecosystem-discussions/using-photoshop-action-scripts-in-command-line/m-p/6036169

 

fraktallAuthor
Known Participant
March 28, 2022

That thread is not really applicable. They ask if a shell command can be run within javascript. I'm asking if the other way around is possible. So I could execute a javascript in the context of Photoshop from a terminal/shell/cli.

 

The thing is, I believe that my ask is so basic and fundamental that I can't fathom how come this has not been covered anywhere. There's literrally no definite answer to such simple thing like this.