Giter Club home page Giter Club logo

scriptopia's Introduction

scriptopia

Generate Typescript support for any compatible Adobe app with a single terminal command:

screen capture

Installation

# Recommended global so you can use this any time, in any folder
npm install -g scriptopia

Usage

Scriptopia will download reliable typescript definitions from Ten-A's fork to your project (but skip if already present), generate a tsconfig.json and .ts file in your current working directory, then instruct you on the hotkey to run the tsc: watch task to finish your setup:

Using the command with no arguments will result in a CLI prompt for which application to script for, and what the name of the file should be:

# This assumes a package.json is present somewhere in your project. If so, you can use it within any child no matter the depth, but if not, you'll need to create one beforehand:
npm init -y

scriptopia

You can skip this prompt by adding them as arguments instead. Any of the below are valid:

scriptopia ai test.js
scriptopia ilst file.ts
scriptopia illustrator myScript.jsx

App aliases (case insensitive):

  • Illustrator - ai, ilst, or illustrator
  • After Effects - ae, aeft, aftereffects, or afterfx
  • Photoshop - ps, phxs, or photoshop
  • InDesign - id, idsn, or indesign
  • Premeire Pro - pp, ppro, premiere, or premierepro
  • Audition - au, audt, or audition

Help

Feel free to file an issue, but if you have help any where in your arguments, like so:

scriptopia help

You'll see a message similar to the above outlining it's usage.

scriptopia's People

Contributors

inventsable avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.