docs.sheetjs.com/docz/docs/02-getting-started/01-installation/05-extendscript.md
2023-06-25 14:44:00 -04:00

1.6 KiB

pagination_prev pagination_next sidebar_position sidebar_custom_props
getting-started/index getting-started/example 5
summary
Photoshop, InDesign, and other Creative Cloud apps

import current from '/version.js';

ExtendScript

Each standalone release script is available at https://cdn.sheetjs.com/.

xlsx.extendscript.js is an ExtendScript build for Photoshop and InDesign.

https://cdn.sheetjs.com/xlsx-{current}/package/dist/xlsx.extendscript.js is the URL for {current}

After downloading the script, it can be directly referenced with #include:

#include "xlsx.extendscript.js"

:::tip pass

Watch the repo or subscribe to the RSS feed to be notified when new versions are released!

:::

For local deployments, the scripts can be placed in the Scripts folder. The path is application-specific.

App Location
Photoshop \Presets\Scripts within the Application folder
InDesign Windows > Utilities > Scripts, click > "Reveal in Explorer"

:::note CEP usage

The ExtendScript build should be used when performing spreadsheet operations from the host context (within a jsx script file).

The standalone scripts should be added to CEP extension HTML.

:::