Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
src
.gitignore
README.md
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

Convert ExtendScript XML documentation to TypeScript declarations

Converted files can be found in types-for-adobe repository.

Usage

Dump declaration files first and then:

# install package
npm i pravdomil/extendscript-xml-to-typescript -g

# convert JavaScript types
extendscript-xml-to-typescript "/Library/Application Support/Adobe/Scripting Dictionaries CC/CommonFiles/javascript.xml"
cat "/Library/Application Support/Adobe/Scripting Dictionaries CC/CommonFiles/javascript.d.ts"

# convert InDesign types
extendscript-xml-to-typescript "~/Library/Preferences/ExtendScript Toolkit/4.0/omv$indesign-11.064$11.3.xml"
cat "~/Library/Preferences/ExtendScript Toolkit/4.0/omv$indesign-11.064$11.3.d.ts"