/indesign-uxp-script-examples

InDesign UXP Script Examples

Primary LanguageJavaScriptMIT LicenseMIT

InDesign UXP Script Examples

Requirements:

  • InDesign 2023 (version 18.1)
  • Deno
    • deno 1.30.3 (release, x86_64-apple-darwin)
    • v8 10.9.194.5
    • typescript 4.9.4

hello-world

A hello-world example.

hello-world-ts

An example hello-world with TypeScript.

This base code is almost same as the hello-world example but this one use TypeScript. This example was added type declaration in order to prevent compile error when bundle.

read-text-ts

An example read a text file and place it into the TextFrame.

This example shows how to avoid the compile error with require('uxp') when do deno bundle.

markdown-to-indesign

An example converting a markdown text to an InDesign Document.

https://youtu.be/vme-tmbtgFU

read-xlsx

An example reading a xlsx file and build an InDesign table document.

https://youtu.be/O94T4zt6mzM

create-xlsx

An example creating a xlsx file.