Copy link to clipboard
Copied
How can I run a script from CLI in macos? e.g. `something src/script.js`?
Copy link to clipboard
Copied
Hi maybe you can take a look here:
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.