Skip to main content
Inspiring
May 18, 2021
Question

Photoshop scripting ECMA time up update from version 3

  • May 18, 2021
  • 3 replies
  • 1216 views

So Adobe, why does Photoshop scripting still use ECMA version 3 (circa December 1999)?

 

The request for Photoshop ECMA script to join the 21st century by davidebarranca four years ago has been largely ignored or denied.

scripting-extendscript-support-for-ecmascript-6th-version/ 

 

Rhetorically, why can't we use nice things like .map(), .filter() .firstIndexOf()?

 

 

This topic has been closed for replies.

3 replies

PECourtejoie
Community Expert
December 7, 2021
Kukurykus
Brainiac
May 18, 2021

C:\Program Files\Adobe\Adobe Photoshop 2021\Presets\Scripts\Stack Scripts Only\ArrayPolyfills.jsx

Known Participant
December 7, 2021

Hi @Kukurykus , can you explain what this means? I'm assuming it's some kind of polyfill but I don't have that folder or know where you get the contents of ArrayPolyfills.jsx from.  I do have these folders that I've had to put other files in.

C:\Program Files\Common Files\Adobe

C:\Users\(usename)\AppData\Roaming\Adobe\Adobe Photoshop 2022\Adobe Photoshop 2022 Settings

 

Kukurykus
Brainiac
December 7, 2021

You can include this specific .jsx file from your other script (at its beginning) to access modern Javascript methods. I indicated a folder where your Photoshop should be installed in.

c.pfaffenbichler
Community Expert
May 18, 2021

This is still primarily a user Forum so if you want to »talk to« Adobe you are at the wrong place. 

 

Have you been following @DBarranca ’s posts about Adobe UXP? 

https://www.davidebarranca.com/development/adobe-uxp-things-you-need-to-know

Inspiring
May 18, 2021

It's a rhetorical opening gambit 🙂

c.pfaffenbichler
Community Expert
May 19, 2021

Did you watch the videos? 

Because I seem to recall that he mentions changes in Photoshop scripting.