• Stars
    star
    464
  • Rank 94,450 (Top 2 %)
  • Language
    Shell
  • Created over 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TypeScript types for Adobe: AfterEffects, Animate, Audition, Illustrator, InDesign, Photoshop, Premiere, ScriptUI.

TypeScript types for Adobe Products

Repository for declaration files generated by extendscript-xml-to-typescript converter.

gif

Prerequisites

Install Node.js and TypeScript and git.

Your first script for eg. Adobe Illustrator

# create new folder
mkdir my-script
cd my-script

# install types-for-adobe
npm init -y
npm i types-for-adobe

# create tsconfig.json
printf '{"compilerOptions":{"module":"none","noLib":true}}' > tsconfig.json

# create index.ts and change reference types to Adobe product you're targeting
printf '/// <reference types="types-for-adobe/Illustrator/2015.3"/>\nalert(String(app));\n' > index.ts

# compile typescript files
tsc

# open Adobe Illustrator -> File -> Scripts -> Other Script -> and open index.js

More typings

Contributors

Thanks to vespakoen, atarabi, lm913, zlovatt.

Showcase

Add your project.