Skip to content
TypeScript types for Adobe Audition, Illustrator, InDesign, Photoshop, AfterEffects, Premiere, ScriptUI. forked from pravdomil/Types-for-Adobe
Branch: master
Clone or download
Pull request Compare This branch is 22 commits ahead, 3 commits behind pravdomil:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AfterEffects/2018
Audition
Bridge initial commit for Bridge. Feb 27, 2019
Illustrator corrected typo. Apr 20, 2019
InDesign
Photoshop/2015.5
Premiere/2018 mark qe explicitly as undefined and add jsdoc Oct 2, 2018
resources
shared fix tests Dec 14, 2018
src
illustratordemo.png Create illustratordemo.png Feb 25, 2019
.gitignore
.prettierrc prettier Sep 11, 2018
.travis.yml
README.md Update README.md Feb 25, 2019
package-lock.json
package.json update Feb 25, 2019
tsconfig.json format with prettier Sep 11, 2018

README.md

Repository for declaration files generated by [extendscript-xml-to-typescript converter](https://github.com/pravdomil/extendscript-xml-to-typescript).

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 install ten-A/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

Thanks to pravdomil.

You can’t perform that action at this time.