Asked • 03/18/19

How can I use higher order functions like Array.reduce() in an Indesign script?

I've started a project where I need to use Adobe Indesign and ExtendScript to programmatically extract some data from a series of INDD files. The version of Javascript used for scripting in these programs doesn't support any of the higher order functions that I'm used to using (`Array.reduce()`, `Array.forEach()`, `Array.map()`, etc...). Is there a way to add this functionality to ExtendScript? I feel like I'm walking around in a room with a four foot high ceiling.

1 Expert Answer

By:

Omaran B. answered • 10/25/22

Tutor
5 (19)

JavaScript&HTML tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.