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

Photoshop scripting ECMA time up update from version 3

Engaged ,
May 18, 2021 May 18, 2021

Copy link to clipboard

Copied

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()?

 

 

TOPICS
Actions and scripting

Views

770

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 ,
May 18, 2021 May 18, 2021

Copy link to clipboard

Copied

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

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
Engaged ,
May 18, 2021 May 18, 2021

Copy link to clipboard

Copied

It's a rhetorical opening gambit 🙂

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
Community Expert ,
May 18, 2021 May 18, 2021

Copy link to clipboard

Copied

Did you watch the videos? 

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

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
LEGEND ,
May 18, 2021 May 18, 2021

Copy link to clipboard

Copied

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

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 ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

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

 

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
LEGEND ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

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.

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 ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

But where do you get your contents of your ArrayPolyfills.jsx file?  Did you just look for a polyfill for ECMA 3?

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
LEGEND ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

I don't understand what you ask for. Say it other way.

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 ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

What is inside of ArrayPolyfills.jsx?

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
LEGEND ,
Dec 07, 2021 Dec 07, 2021

Copy link to clipboard

Copied

LATEST

The functions the original poster mentioned plus some more.

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
Community Expert ,
Dec 07, 2021 Dec 07, 2021

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