• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Run ExtendScript from CLI in macos

Explorer ,
Mar 27, 2022 Mar 27, 2022

Copy link to clipboard

Copied

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

TOPICS
Actions and scripting

Views

179

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 27, 2022 Mar 27, 2022

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 28, 2022 Mar 28, 2022

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

LATEST

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-com...

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines