Code samples for CEP extensions
JavaScript HTML CSS
Clone or download

README.md

Sample extensions

These samples demonstrate techniques for building an extension with an HTML5 UI and behavior implemented in JavaScript.

Many of the samples are still in development. Some of them use CEP 4 and the CC2013 version of the host app, others are for CEP 5 and CC2014 version of the host application and others are kept up to date with the latest release e.g. CC2015. You can check the manifest.xml file for each extension's compatibility requirements. To run the extensions you must have the host application installed. Requirements for each sample are listed below.

  • Supported host apps for CEP 6 include the CC2015 versions of: Dreamweaver, Flash Pro, InDesign, Illustrator, InCopy, Photoshop, Premiere Pro, Prelude, and After Effects.
  • Supported host apps for CEP 5 include the CC2014 versions of: Dreamweaver, Flash Pro, InDesign, Illustrator, InCopy, Photoshop, Premiere Pro, Prelude, and After Effects.
  • Support for the Flash/ActionScript extension model is deprecated in all apps, and has been removed from Photoshop CC2014, Flash CC2015 and Dreamweaver CC2015.

From CEP 7.0, we post official CEP sample extensions under CEP-Resources, along with documentation, API, etc.

##Before running the samples The samples provided are unsigned so this will cause the the signature check (built into CEP when first running an extension) to fail. To bypass the signature check, please refer to the documentation:


Requirements

Remember that although these extensions are initially setup for a particular version of CEP, you can adjust the product version targeted by modifying the range inside the HostList element of the CSXS/manifest.xml file.

Extension Description Supported Products
AfterEffectsPanel Demonstrates how to invoke After Effects ExtendScript, from within a CEP panel. After Effects
Anywhere Example Panel Demonstrates a Premiere Pro panel integration with Adobe Anywhere (through DOM and http). Premiere Pro, Prelude
Audition There are 4 Audition CC extensions in this repo (ApplicationCommands, PlayheadPanel, ScriptDictionary, TransportEvents) Audition
Bridge - HelloBridge A Hello World extension for Adobe Bridge. Bridge
Bridge - ShowFolder Demonstrates use of CEP APIs and ExtendScript in Adobe Bridge Bridge
CEP HTML Invisible Extension An example of an invisible extension. More information about invisible extensions can be found in the cookbooks https://github.com/Adobe-CEP/CEP-Resources/wiki/CEP-5-HTML-Extension-Cookbook-for-CC-2014#invisible Dreamweaver, Animate, InDesign, InCopy, Illustrator, Photoshop, Premier Pro, Prelude, After Effects
CEP HTML Test Extension Showcases most features and capabilities of CEP 6, including events, video, database interaction via Node, native APIs, ExternalObject, HTML FlyOut menus and lots of other good stuff! Dreamweaver, Animate, InDesign, InCopy, Illustrator, Photoshop, Premier Pro, Prelude, After Effects
CueSheeter Demonstrates extracting usage data from sequences; useful for documenting usage and clearance rights. Premier Pro
Flickr Demonstrates connecting and retrieving assets from a Cloud service (Flickr in this case). Photoshop
htmlStandAlone Demonstrates Prelude's message-driven Javascript APIs. Inside the sample, there are multiple standalone html pages that include demos for different ExtendScript functionalities you can use in Prelude. Prelude
Photoshop Events Demonstrates listening to events in Photoshop. Photoshop
Premiere Pro Panel Demonstrates a Premiere Pro panel. Premiere Pro
RSSReader Demonstrates using 3rd party NPM modules in a CEP 5 extension. InDesign/InCopy, Illustrator, Photoshop
SimpleDissolve Photoshop
Trello Demonstrates loading an external website in an iFrame. Photoshop, Illustrator, Premiere Pro
TypeScript Demonstrates multiple sample codes thata demonstrate what's possible to build inside Premiere Pro. Premiere Pro
UI Showcase Demonstrates using common JavaScript UI frameworks in CEP extensions. Photoshop, Illustrator, Premiere Pro
WebGL with three.js (Contributed by Davide Deraedt) Demonstrates WebGL with three.js Photoshop
Websockets Demonstrates using web sockets in an extension. Photoshop, Illustrator, Premiere Pro
XMP Sample Panel Demonstrates manipulating XMP metadata in CC2014 hosts. Premiere Pro, InDesign, Photoshop, Illustrator