docs.sheetjs.com/docz/docs/02-getting-started/01-installation/05-extendscript.md

41 lines
1.4 KiB
Markdown
Raw Normal View History

2022-05-16 03:26:04 +00:00
---
2022-08-24 23:48:22 +00:00
pagination_prev: getting-started/index
pagination_next: getting-started/example
2022-05-16 03:26:04 +00:00
sidebar_position: 5
sidebar_custom_props:
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.
<div><a href={`https://cdn.sheetjs.com/xlsx-${current}/package/dist/xlsx.extendscript.js`}>https://cdn.sheetjs.com/xlsx-{current}/package/dist/xlsx.extendscript.js</a> is the URL for {current}</div><br/>
After downloading the script, it can be directly referenced with `#include`:
```c
#include "xlsx.extendscript.js"
```
2023-02-11 07:13:53 +00:00
2023-04-16 07:21:15 +00:00
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](/docs/getting-started/installation/standalone) should
be added to CEP extension HTML.
:::