Adobe Creative Suite Scripting
References and Resources
adobe.js JavaScript
adobe.js files have that run on Windows and OS X have a .jsx file extension: your-mom.jsx
adobe.js Applescript
Applescript files are OS X only, and have a .as or .scpt file extension: your-moms-applescript.as or your-moms-other-applescript.scpt
adobe.js Visual Basic
adobe.js files are Windows only and have a .vbs file extension: your-moms-visual-basic.bcs
adobe.js Applescript
Applescript Demo: Build a daily todo-list in html
References and Resources
estk (ExtendScript Toolkit)
The estk 3.5 is a development and debugging tool for JavaScript scripts included with Adobe Creative Suite 5 and applications such as Bridge, Photoshop, Illustrator, InDesign, and After Effects. The estk 3has many features that make it easier to use than a text editor, including a built-in syntax checker that identifies where the problems are in your script and tries to explain how to fix them, and the ability to run your scripts right from the estk 3without saving the file.
The estk 3also includes a JavaScript debugger that allows you to:
- Single-step through JavaScript scripts (JS or JSX files) inside an application
- Inspect all data for a running script
- Set and execute breakpoints
estk 3 3.5 contains a number of improvements related to its usability and stability, including:
- Automatic document backup
- Option to open new documents in a floating window
- Option to display the Object Model Viewer in a dockable window
- Fast access to clear the Console pane
- Improved output of debugging sessions
References and Resources
Adobe Bridge
Adobe Bridge cs4 sdk
Adobe Bridge CS4 SDK
The Adobe Bridge SDK, which is updated for CS4, enables developers to integrate with and extend Bridge. This SDK shows developers how to program with the JavaScript API to Bridge, and how to develop plug-ins (external libraries) for Bridge in C/C++ and call this code from JavaScript. The external object mechanism can be used to write plug-ins for Adobe Creative Suite 4 applications that have integrated ExtendScript, an Adobe JavaScript implementation. The October, 2008 update contains information on new and enhanced features such as the Collections feature (new in Adobe Bridge CS4), allowing users to create arbitrary named collections of thumbnails. Also detailed are changes to the Menus and Preferences dialog and a new optional preference that allows you to specify whether an embedded color space should be preserved when creating a BitmapData object. The Web Access library, which was previously documented in the JavaScript Tools Guide, is now available only through Adobe Bridge, and is documented in the Adobe Bridge CS4 JavaScript Reference. Adobe Bridge CS4 SDK Adobe Bridge CS4 SDK Readme (TXT) Readme (TXT) The following folders and files are contained within the Bridge SDK: BRIDGE-SDK/sdksamples/javascript: JavaScript code snippets and sample scripts, which exercise the scripting interface of Adobe Bridge CS4. BRIDGE-SDK/sdksamples/cpp: Sample project files, C/C++ source code and sample scripts for building and loading an external object, which is an external library that can be called from JavaScript within Bridge and some of the other point products in Creative Suite BRIDGE-SDK/docs: contains resources such as the Adobe Bridge CS4 JavaScript Reference and the Adobe Bridge CS4 JavaScript Guide.
References and Resources
.jsx File Extension
ExtendScript is the formal name for Adobe JavaScript.
.jsx is JavaScript text. On Mac OS, either file type is treated the same. On Windows, either type is treated the same too if you run your script from within Photoshop. But if you run your script outside of Photoshop by double-clicking on it or through other means, a *.js file will be interpreted by the Microsoft built-in JScript engine while a *.jsx file will get run by Adobe's ExtendScript engine. Only ExtendScript can access the goodies Adobe added to the basic JavaScript language. As such, it is preferable to stick with the *.jsx ending to ensure you get the desired results.
After Effects
References and Resources
Photoshop
References and Resources
Illustrator
Scriptographer is a scripting plugin for Adobe Illustrator™. It gives the user the possibility to extend Illustrator’s functionality by the use of the JavaScript language. Scriptographer has been replaced by paper.js.
References and Resources
Acrobat
References and Resources
InDesign
InDesign Scripting Forumadobe.js can be installed into InDesign in two places: application folder and user script folder:
- Open up Scripts Panel - (Window > Automation > Scripts in CS3 and CS4; or Window > Utilities > Scripts in CS5 or later)
- Right Click on Application or User
- In the context menu, select Reveal in Windows Explorer/Reveal in Finder
- A folder should open, and Scripts Panel should be a folder within
adobe.jsScripts go in the Scripts Panel
Open a document to run a script; after its opened, open Scripts Panel and double-click on the script desired. If this action fails, the script probably requires the user to make a selection in InDesign first, because the script is written to act on a selection.
Script Bay
Script Bay is a complete redesign of Scripts Panel, as a plugin, free and downloadable here, however it is only for cs5 and up.
Adobe Drive
Adobe Drive Adobe Drive is an application that allows one to connect the following CS applications (InDesign, Illustrator, Photoshop and/or InCopy) to a DAM (digital asset management) system. Having an Adobe Drive integration provides full access to content on a DAM system from Adobe Bridge, the Explorer or Finder and includes the ability to check in, check out, add check in comments, compare versions etc. from directly within the supported CS applications. - See more at: http://blogs.adobe.com/cssdk/#sthash.bE6Q0CPW.dpuf.
