Skip to content

Commit 9454baf

Browse files
committed
Links to ExtendScript SDK, fixes #2
1 parent 46b5820 commit 9454baf

File tree

10 files changed

+90
-97
lines changed

10 files changed

+90
-97
lines changed

docs/integrating-external-libraries/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ All Adobe Creative Suite 4 applications support this feature.
1414
Example code
1515
++++++++++++
1616

17-
The sample code distributed with the Adobe ExtendScript SDK includes an example that demonstrates
17+
The sample code distributed with the `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_ includes an example that demonstrates
1818
how write a C/C++ shared library to be integrated with JavaScript. It is in the directory::
1919

2020
sdkInstall/sdksamples/cpp/

docs/interapplication-communication/cross-dom-functions.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ startup script (14 is the version number of the installed application). See :ref
1717

1818
**Example code**
1919

20-
The sample code distributed with the Adobe ExtendScript SDK includes these code examples that
20+
The sample code distributed with the `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_ includes these code examples that
2121
specifically demonstrate the use of cross-DOM functions:
22+
23+
.. list-table::
2224

23-
======================== ==========================================================
24-
**Cross-DOM calls**
25-
======================== ==========================================================
26-
OpenImageInPhotoshop.jsx Shows how to send an image file to be opened in Photoshop.
27-
======================== ==========================================================
25+
* - **Cross-DOM calls**
26+
-
27+
* - `OpenImageInPhotoshop.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/OpenImageInPhotoshop.jsx>`_
28+
- Shows how to send an image file to be opened in Photoshop.
2829

2930
--------------------------------------------------------------------------------
3031

docs/interapplication-communication/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ The Adobe scripting environment provides an interapplication messaging framework
66
and receive information and scripts from one Adobe application to another. An application that supports
77
the messaging framework is said to be message enabled.
88

9-
Code samples that demonstrate various techniques are provided with the Adobe ExtendScript SDK, and
9+
Code samples that demonstrate various techniques are provided with the `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_, and
1010
referenced by name in the relevant sections.
1111

docs/interapplication-communication/messaging-framework-api-reference.rst

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,27 @@ The messaging API defines the BridgeTalk class. Static properties and methods of
1414
access to environmental information relevant for communication between applications. Instantiate the
1515
class to create a BridgeTalk message object, which encapsulates the message itself. For discussion and
1616
examples, see :ref:`communicating-through-messages`, and the example code provided with the
17-
Adobe ExtendScript SDK.
17+
`Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_.
1818

1919
Example code
2020
************
2121

22-
The sample code distributed with the Adobe ExtendScript SDK includes these code examples that
22+
The sample code distributed with the `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_ includes these code examples that
2323
specifically demonstrate the use of interapplication messaging:
2424

25-
============================ ===========================================================
26-
Interapplication messaging
27-
============================ ===========================================================
28-
MessagingBetweenApps.jsx Shows how to send a message to a Creative Suite application
29-
and receive a response.
30-
MessageSendingToInDesign.jsx
31-
SendArrayToPhotoshop.jsx Sends message to Photoshop that creates an array in the
32-
target and passes it back to the sender.
33-
SendObjectToPhotoshop.jsx Sends message to Photoshop that creates a JavaScript object
34-
in the target and passes it back to the sender.
35-
SendDOMObjectToPhotoshop.jsx Sends message to Photoshop that creates a Photoshop object
36-
in the target and passes values from it back to the sender.
37-
SaveAsDifferentFileType.jsx Locates an image file, uses messaging to load it into
38-
Photoshop and save it as a different file type.
39-
============================ ===========================================================
25+
.. list-table::
26+
27+
* - **Interapplication messaging**
28+
-
29+
* - `MessagingBetweenApps.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/MessagingBetweenApps.jsx>`_
30+
- Shows how to send a message to a Creative Suite application and receive a response.
31+
* - `MessageSendingToInDesign.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/MessageSendingToInDesign.jsx>`_
32+
- Sends message to InDesign through BridgeTalk.
33+
* - SendArrayToPhotoshop.jsx
34+
- Sends message to Photoshop that creates an array in the target and passes it back to the sender.
35+
* - `SendObjectToPhotoshop.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SendObjectToPhotoshop.jsx>`_
36+
- Sends message to Photoshop that creates a JavaScript object in the target and passes it back to the sender.
37+
* - `SendDOMObjectToPhotoshop.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpSendDOMObject.jsx>`_
38+
- Sends message to Photoshop that creates a Photoshop object in the target and passes values from it back to the sender.
39+
* - `SaveAsDifferentFileType.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SaveAsDifferentFileType.jsx>`_
40+
- Locates an image file, uses messaging to load it into Photoshop and save it as a different file type.

docs/introduction/extendscript-overview.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,11 @@ JavaScript-enabled Adobe applications.
1717

1818
Example code
1919
------------
20-
The Adobe ExtendScript SDK, which contains this document, also contains a set of code samples that
20+
The `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_, which contains this document, also contains a set of code samples that
2121
demonstrate how to use features of ScriptUI, interapplication communication, and external
2222
communication. This book refers to these samples by name for illustration of concepts and techniques.
2323

24-
You can download the SDK from Adobe Developer Center, http://www.adobe.com/devnet/scripting/.
25-
26-
ESTK 3.8 is included with CS6, while ES3.5 is available as a standalone download:
27-
28-
- Windows: `AdobeExtendScriptToolkit3.5.0-mul.zip <http://download.adobe.com/pub/adobe/devnet/scripting/estk/AdobeExtendScriptToolkit3.5.0-mul.zip>`_ (`mirror <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_)
29-
30-
- MacOS: `AdobeExtendScriptToolkit3.5.0-mul.dmg <http://download.adobe.com/pub/adobe/devnet/scripting/estk/AdobeExtendScriptToolkit3.5.0-mul.dmg>`_ (`mirror <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_)
24+
You can download the latest (and last) SDK from `Github <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_. Earlier versions might still be accessible through `direct links <https://github.com/aenhancers/javascript-tools-guide/issues/2#issuecomment-1019312237>`_.
3125

3226
The samples are located under the ExtendScript SDK root directory:
3327

@@ -40,7 +34,9 @@ Development and debugging tools
4034
-------------------------------
4135
For help in developing, debugging, and testing scripts, Adobe provides the ExtendScript Toolkit, an
4236
interactive development and testing environment for ExtendScript, which is installed with all
43-
JavaScript-enabled applications. For complete details, see :ref:`the-extendscript-toolkit`.
37+
JavaScript-enabled applications.
38+
39+
For complete details, see :ref:`the-extendscript-toolkit`.
4440

4541
ExtendScript also provides global objects that support development and debugging:
4642

docs/user-interface-tools/automatic-layout.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ is the horizontal alignment and the second is the vertical alignment. This allow
220220
horizontal placement of children in a container with row orientation, and the vertical placement of
221221
children in a container with column orientation.
222222

223-
The following figures show the results of the sample script SnpAlignElements.jsx, that demonstrates
223+
The following figures show the results of the sample script `SnpAlignElements.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpAlignElements.jsx>`_, that demonstrates
224224
how to specify alignment in two dimensions.
225225

226226
- In the first, each control is centered vertically within its row, and placed at a specific horizontal

docs/user-interface-tools/code-examples-for-scriptui.rst

Lines changed: 35 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,40 @@
22

33
Code examples for ScriptUI
44
==========================
5-
The sample code distributed with the Adobe ExtendScript SDK includes code examples that specifically
5+
The sample code distributed with the `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_ includes code examples that specifically
66
demonstrate different ways of building and populating a ScriptUI dialog.
77

8-
=============================== ==========================================================================================
9-
Building ScriptUI dialogs
10-
=============================== ==========================================================================================
11-
SnpCreateDialog.jsx Creates a very simple, modeless dialog (a palette) with OK
12-
and Cancel button behavior.
13-
SnpCreateUIAddMethod.jsx Shows how to add controls to a dialog using the add
14-
method.
15-
SnpCreateUIResourceSpec.jsx Shows how to define a resource string that creates the
16-
control hierarchy in a dialog.
17-
SnpCreateTreeView.jsx Shows how to create a hierarchical list with subitems.
18-
SnpCreateProgressBar.jsx Shows how to create, initialize, and update a progress bar.
19-
SnpCreateSlider.jsx Shows how to create and handle input from a slider control.
20-
UsingFlashPlayer.jsx Shows how to create a Flash® Player, and use it to load a play
21-
back a movie defined in an SWF file.
22-
ActionScriptDemo.jsx Shows how to communicate between the Adobe
23-
application scripting environment and the ActionScript™
24-
scripting environment of the Flash Player.
25-
ColorSelector.jsx Shows how to use the graphics objects to change colors in a
26-
window.
27-
ColorPicker.jsx A more complex version of the color-selection dialog shows
28-
how to use additional graphics objects, including fonts and
29-
paths.
30-
SnpAlignElements.jsx Shows how to align elements along two dimensions in order
31-
to control the relative positions of controls within rows and
32-
columns.
33-
SnpCreateDynamicScriptUI.jsx Shows how to use automatic layout, switching component
34-
layout between "row" and "stack" orientation.
35-
AlertBoxBuilder1.jsx Shows a way to use resource specifications. Uses the add()
36-
method to build a dialog that collects values from the user,
37-
and creates a resource string from those values. Saves the
38-
string to a file, then uses it to build a new dialog. See :ref:`using-resource-strings`.
39-
AlertBoxBuilder2.jsx Shows another way to use a resource specification, building
40-
the same user-input dialog itself from a resource string. See
41-
:ref:`using-resource-strings`.
42-
SnpCustomLayoutManager.jsx Shows how to create a customized layout manager. See
43-
:ref:`custom-layout-manager-example`.
44-
=============================== ==========================================================================================
8+
.. list-table::
9+
10+
* - **Building ScriptUI dialogs**
11+
-
12+
* - `SnpCreateDialog.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCreateDialog.jsx>`_
13+
- Creates a very simple, modeless dialog (a palette) with OK and Cancel button behavior.
14+
* - `SnpCreateUIAddMethod.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCreateUIAddMethod.jsx>`_
15+
- Shows how to add controls to a dialog using the add method.
16+
* - `SnpCreateUIResourceSpec.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCreateUIResourceSpec.jsx>`_
17+
- Shows how to define a resource string that creates the control hierarchy in a dialog.
18+
* - `SnpCreateTreeView.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCreateTreeView.jsx>`_
19+
- Shows how to create a hierarchical list with subitems.
20+
* - `SnpCreateProgressBar.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCreateProgressBar.jsx>`_
21+
- Shows how to create, initialize, and update a progress bar.
22+
* - `SnpCreateSlider.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCreateSlider.jsx>`_
23+
- Shows how to create and handle input from a slider control.
24+
* - `UsingFlashPlayer.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/UsingFlashPlayer.jsx>`_
25+
- Shows how to create a Flash® Player, and use it to load a play back a movie defined in an SWF file.
26+
* - `ActionScriptDemo.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/ActionScriptDemo.jsx>`_
27+
- Shows how to communicate between the Adobe application scripting environment and the ActionScript™ scripting environment of the Flash Player.
28+
* - `ColorSelector.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/ColorSelector.jsx>`_
29+
- Shows how to use the graphics objects to change colors in a window.
30+
* - `ColorPicker.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/ColorPicker.jsx>`_
31+
- A more complex version of the color-selection dialog shows how to use additional graphics objects, including fonts and paths.
32+
* - `SnpAlignElements.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpAlignElements.jsx>`_
33+
- Shows how to align elements along two dimensions in order to control the relative positions of controls within rows and columns.
34+
* - `SnpCreateDynamicScriptUI.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCreateDynamicScriptUI.jsx>`_
35+
- Shows how to use automatic layout, switching component layout between "row" and "stack" orientation.
36+
* - `AlertBoxBuilder1.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/AlertBoxBuilder1.jsx>`_
37+
- Shows a way to use resource specifications. Uses the add() method to build a dialog that collects values from the user, and creates a resource string from those values. Saves the string to a file, then uses it to build a new dialog. See :ref:`using-resource-strings`.
38+
* - `AlertBoxBuilder2.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/AlertBoxBuilder2.jsx>`_
39+
- Shows another way to use a resource specification, building the same user-input dialog itself from a resource string. See :ref:`using-resource-strings`.
40+
* - `SnpCustomLayoutManager.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/SnpCustomLayoutManager.jsx>`_
41+
- Shows how to create a customized layout manager. See :ref:`custom-layout-manager-example`.

docs/user-interface-tools/communicating-with-the-flash-application.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,14 @@ This registers a function defined in your Adobe application script named ``getAc
8484

8585
Flash Examples
8686
**************
87-
These examples in the Adobe ExtendScript SDK demonstrate how to use the Flash Player:
87+
These examples in the `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_ demonstrate how to use the Flash Player:
8888

8989
.. todo::
9090
Examples
9191

92-
======================= ====================================================================
93-
UsingFlashPlayer.jsx Shows how to create a Flash Player, and use it to load a play back a
94-
movie defined in an SWF file.
95-
ActionScriptDemo.jsx Shows how to communicate between the Adobe application scripting
96-
environment and the ActionScript scripting environment of the Flash
97-
Player.
98-
======================= ====================================================================
92+
.. list-table::
93+
94+
* - `UsingFlashPlayer.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/UsingFlashPlayer.jsx>`_
95+
- Shows how to create a Flash® Player, and use it to load a play back a movie defined in an SWF file.
96+
* - `ActionScriptDemo.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/ActionScriptDemo.jsx>`_
97+
- Shows how to communicate between the Adobe application scripting environment and the ActionScript™ scripting environment of the Flash Player.

docs/user-interface-tools/drawing-objects.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ To make the background of a window light gray, you could use this code::
3131
myBrush = g.newBrush( g.BrushType.SOLID_COLOR, [ 0.75, 0.75, 0.75, 1 ] );
3232
g.backgroundColor = myBrush;
3333

34-
These examples in the Adobe ExtendScript SDK demonstrates how to use graphic customization objects:
34+
These examples in the `Adobe ExtendScript SDK <https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit>`_ demonstrates how to use graphic customization objects:
3535

3636
.. todo: Examples
3737
38-
=================== ==================================================================================
39-
ColorSelector.jsx Uses graphic objects to change the background color of a window as the user
40-
selects the color value with a slider.
41-
ColorPicker.jsx A more complex version of the color-selection dialog shows how to use
42-
additional graphics objects, including fonts and paths.
43-
=================== ==================================================================================
38+
.. list-table::
39+
40+
* - `ColorSelector.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/ColorSelector.jsx>`_
41+
- Uses graphic objects to change the background color of a window as the user selects the color value with a slider.
42+
* - `ColorPicker.jsx <https://github.com/Adobe-CEP/CEP-Resources/blob/master/ExtendScript-Toolkit/Samples/javascript/ColorPicker.jsx>`_
43+
- A more complex version of the color-selection dialog shows how to use additional graphics objects, including fonts and paths.
4444

4545
In addition, the :ref:`custom-element-class` allows you to define completely customized elements of several
4646
types (ranges, buttons, lists), whose appearance is rendered entirely by your :ref:`control-event-ondraw` implementation.

0 commit comments

Comments
 (0)