diff --git a/docz/docs/03-demos/10-extensions/01-extendscript.md b/docz/docs/03-demos/10-extensions/01-extendscript.md
index 28193f3..59dbfc5 100644
--- a/docz/docs/03-demos/10-extensions/01-extendscript.md
+++ b/docz/docs/03-demos/10-extensions/01-extendscript.md
@@ -29,7 +29,7 @@ This demo was verified in the following deployments:
|:----------|:-------------|:-----------|
| Photoshop | ExtendScript | 2023-04-15 |
| InDesign | ExtendScript | 2023-04-15 |
-| InDesign | CEP | 2023-04-15 |
+| InDesign | CEP | 2023-04-24 |
| InDesign | UXP | 2023-04-15 |
:::
@@ -220,7 +220,7 @@ manifest must include the following flags to enable `cep.fs`:
The Base64 encoding is compatible with `type: "base64"`.
-**Reading Files**
+### Reading Files
The typical flow is to read data from CEP and pass the data into the host
ExtendScript context. The following snippet parses a workbook:
@@ -234,7 +234,35 @@ const data = cep.fs.readFile(fn.data[0], cep.encoding.Base64);
const wb = XLSX.read(data.data, { type: "base64" });
```
-**Writing Files**
+Complete Example (click to hide)
+
+
+
+
+0) Download [`com.sheetjs.data.zip`](pathname:///extendscript/com.sheetjs.data.zip)
+and extract to a `com.sheetjs.data` subdirectory.
+
+1) Move the entire `com.sheetjs.data` folder to the CEP extensions folder. In
+Windows, the folder is `C:\Program Files (x86)\Common Files\Adobe\CEP\extensions\` .
+If prompted, give administrator privileges.
+
+2) Download and open [`Template.idml`](pathname:///extendscript/Template.idml)
+
+3) Download
+
+4) Show the extension (in the menu bar, select Window > Extensions > SheetJS)
+
+5) In the extension panel, click "Import from file" and select `pres.xlsx`
+
+After "success" popup, the first worksheet should be written to the file.
+
+
+
+
+
+
+
+### Writing Files
The typical flow is to invoke a function with `CSInterface#evalScript` that
returns data from the host ExtendScript context. The callback should build the
@@ -249,6 +277,31 @@ const fn = cep.fs.showSaveDialogEx("Save File","",["xlsx"],"SheetJSIDCEP.xlsx");
cep.fs.writeFile(fn.data, b64, cep.encoding.Base64);
```
+Complete Example (click to hide)
+
+
+
+
+0) Download [`com.sheetjs.data.zip`](pathname:///extendscript/com.sheetjs.data.zip)
+and extract to a `com.sheetjs.data` subdirectory.
+
+1) Move the entire `com.sheetjs.data` folder to the CEP extensions folder. In
+Windows, the folder is `C:\Program Files (x86)\Common Files\Adobe\CEP\extensions\` .
+If prompted, give administrator privileges.
+
+2) Download and open [`Filled.idml`](pathname:///extendscript/Filled.idml)
+
+3) Show the extension (in the menu bar, select Window > Extensions > SheetJS)
+
+4) In the extension panel, click "Export to XLSX" and "Save" in the dialog.
+
+5) A popup will display the path to the generated file. Open the new file.
+
+
+
+
+
+
## UXP
UXP uses bundled scripts with `.psjs` (PS) or `.idjs` (InDesign) extension. The
diff --git a/docz/docs/03-demos/10-extensions/05-osa.md b/docz/docs/03-demos/10-extensions/05-osa.md
index 00ebc48..2351bf9 100644
--- a/docz/docs/03-demos/10-extensions/05-osa.md
+++ b/docz/docs/03-demos/10-extensions/05-osa.md
@@ -237,7 +237,7 @@ end extractResult
chmod +x sheetosa.scpt
```
-3) Run the script (it is hardcoded to read `pres.numbers`):
+4) Run the script (it is hardcoded to read `pres.numbers`):
```bash
./sheetosa.scpt
diff --git a/docz/static/extendscript/Filled.idml b/docz/static/extendscript/Filled.idml
new file mode 100644
index 0000000..49eeedb
Binary files /dev/null and b/docz/static/extendscript/Filled.idml differ
diff --git a/docz/static/extendscript/Template.idml b/docz/static/extendscript/Template.idml
new file mode 100644
index 0000000..41031cf
Binary files /dev/null and b/docz/static/extendscript/Template.idml differ
diff --git a/docz/static/extendscript/com.sheetjs.data.zip b/docz/static/extendscript/com.sheetjs.data.zip
new file mode 100644
index 0000000..a1f2bac
Binary files /dev/null and b/docz/static/extendscript/com.sheetjs.data.zip differ