All Projects → adobe-extension-tools → extendscript-starter

adobe-extension-tools / extendscript-starter

Licence: other
Starter project for extendscript-bundler + live reload capabilities

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to extendscript-starter

quickExp
a script for controlling expressions quickly in After Effects
Stars: ✭ 24 (-7.69%)
Mutual labels:  adobe, extendscript
Indentz
Collection of InDesign scripts for simple and repetitive tasks.
Stars: ✭ 23 (-11.54%)
Mutual labels:  adobe, extendscript
adobe-scripts
Drafts and unsorted JSX scripts for Adobe Illustrator, Photoshop
Stars: ✭ 29 (+11.54%)
Mutual labels:  adobe, extendscript
ExtendScript
🍆 Getting started with ExtendScript ✨ by Jeff Davis
Stars: ✭ 23 (-11.54%)
Mutual labels:  adobe, extendscript
adobe-cep-react-create
Create Adobe-CEP extension with React, Material-UI, Native Node modules, Webpack, Babel and ExtendScript
Stars: ✭ 95 (+265.38%)
Mutual labels:  adobe, extendscript
ovid-editor
Adobe panel providing the most advanced scripting environment possible -- Typescript, app DOM autocomplete, full I/O features and more
Stars: ✭ 43 (+65.38%)
Mutual labels:  adobe, extendscript
open-source-flash
Petition to open source Flash and Shockwave spec
Stars: ✭ 7,380 (+28284.62%)
Mutual labels:  adobe
React-Native-Web-TypeScript-Prettier-Boilerplate
A starterkit to work with nextjs, react-native, storybook… all with prettified typescript and in a monorepo
Stars: ✭ 16 (-38.46%)
Mutual labels:  starterkit
browserify-cipher
No description or website provided.
Stars: ✭ 15 (-42.31%)
Mutual labels:  browserify
photo-editor
A simple photo editing android application
Stars: ✭ 57 (+119.23%)
Mutual labels:  adobe
ai-image-fill
Simple Adobe Illustrator Panel to generate placeholder image content from Flickr or Unsplash
Stars: ✭ 30 (+15.38%)
Mutual labels:  adobe
typescript-css-modules-demo
A working demo of CSS Modules, using TypeScript, css-modulesify and typed-css-modules
Stars: ✭ 25 (-3.85%)
Mutual labels:  browserify
site-infrastructure-tests
Test framework that allows analysts/marketers to specify site infrastructure regression tests for dev
Stars: ✭ 23 (-11.54%)
Mutual labels:  adobe
Artboard-Plus-XD
Artboard tools to speed up your Adobe XD workflow. Rearrange artboards into grid, sort them by name or create an artboard around selection.
Stars: ✭ 41 (+57.69%)
Mutual labels:  adobe
bleh
A web framework with automatic Browserify + Less + Express + Handlebars
Stars: ✭ 47 (+80.77%)
Mutual labels:  browserify
middleman-gulp
A Middleman 4 template using Gulp.js via the external pipeline
Stars: ✭ 42 (+61.54%)
Mutual labels:  browserify
AdobeXD-maps
🗺A map generator plugin for Adobe XD using google maps API
Stars: ✭ 36 (+38.46%)
Mutual labels:  adobe
SwiftyIllustrator
A tool for quickly converting Adobe Illustrator shapes into SwiftUI code.
Stars: ✭ 26 (+0%)
Mutual labels:  adobe
AEM-DataLayer
Simple DataLayer API for Adobe Experience Manager
Stars: ✭ 33 (+26.92%)
Mutual labels:  adobe
css-extract
Extract CSS from a browserify bundle
Stars: ✭ 46 (+76.92%)
Mutual labels:  browserify

Starter Kit for ExtendScript + ScriptUI extensions

This is a "starter kit" for developing ExtendScript + ScriptUI extensions for Adobe applications. It relies on extendscript-bundler and devconnect to do the heavy lifting.

The extendscript-bundler does a couple of things to make your life easier:

  • Compile your TypeScript code into a single .js file
  • "Live Reloads" the code whenever you save a file for instant updates while developing

For a more detailed explaination, see under the hood

Topics

Requirements

  • node.js

Installing

For the lazy, watch a video:

Installation instructions video image

git clone [email protected]:adobe-extension-tools/extendscript-starter.git
cd extendscript-starter
npm install

Install "Dev Connect"

To get live reload functionality you first have to install the "Dev Connect" extension that can be found here

Download the .pkg for macOS or .exe for Windows. If you have trouble installing any of these, download the .zxp file and use a third party utility like ZXPInstaller to install it.

Configure

Open the extendscript-config.js file in the root of the project and uncomment the configuration for the application you want to target.

Developing

First, build the script so you can open it in the application (you only have to do this once):

npm run build

Now open the application you are building the extension for and open "Dev Connect" by clicking to "Window -> Extensions -> Dev Connect", after, start the ExtendScript extension, the default name is "ExtendScript Starter". It's location in the menu differs per application.

For After Effects: "Window -> ExtendScript Starter"

Now start the bundler in "live" mode:

npm start

And start coding, have fun!

Build only

npm run build

Under the hood

When you run npm start a TypeScript compiler takes your .ts files and turns them into .js files.
Then browserify takes over and packs the .js files together. A couple of transforms to replace environment variables at build time and prepend the following line of code to the bundle var globalThis = this;.
This allows you to access the "this" from the root scope, which will be needed to find an existing panel instance. Lastly, the bundle is sent to the Dev Connect extension that should be running in the application you are writing the extension for, which will in turn evaluate the bundle in the ExtendScript environment (Live Reload!)

Credits

I have made these tools while working on extensions for MtMograph. If you like it, please consider buying one of our extensions for After Effects!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].