Skip to main content
Participant
March 19, 2025
Question

Photoshop scripting with AI?

  • March 19, 2025
  • 2 replies
  • 404 views

Hi all. Have any of you tried this? I'm a total JavaScript noob but want to create scripts. I asked ChatGPT to help. It wrote code but when I execute it it usually errors out. It seems to know the dictionary for the app but haven't been successful. Thanks!

2 replies

Legend
March 20, 2025

AI is not a replacement for actual knowledge. You'll probably want to start learning to actually code.

https://developer.adobe.com/photoshop/

Stephen Marsh
Community Expert
Community Expert
March 20, 2025

To start, it begins with the prompt content, and the LLM "AI" of choice will also affect the outcome (training data, logic etc).

 

Sometimes a LLM can create 100% usable code with no errors.

 

Sometimes it may invent/hallucinate one key entry which then breaks the entire script.

 

Photoshop traditionally used ExtendScript, which is an early, antiquated form of ECMAScript/JavaScript.

 

Now things are moving forward with UXP scripting, which is based on modern JavaScript.

 

The two don't mix.

 

It varies. It's a tool, the more you know, the better, it can't always be relied upon to know the nuances. 2-3 years ago it was almost unusable for Photoshop, today, it's much better.