Skip to content

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

Notifications You must be signed in to change notification settings

adobe-extension-tools/Types-for-Adobe

 
 

Repository files navigation

TypeScript types for Adobe Products Build Status

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.

Contributing

Open pull request and be sure that:

Showcase

Add your project.

Become a backer

Support this project by buying a beer.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%