AdobeBridgeCS5SDK

Class SnpSendArray

Object
   |
   +--SnpSendArray

class SnpSendArray


Shows how to pass an array from Adobe Photoshop CS5 to Bridge CS5 in response to a BridgeTalk message.

Usage

  1. Make sure Adobe Bridge CS5 and Adobe Photoshop CS5 are running
  2. Run the snippet in the ExtendScript Toolkit (ESTK), with Bridge as the target (see Readme.txt)
  3. Inspect the JavaScript Console in the ESTK for information on the sequence of messages and objects passed.
  4. Note; there is no other visible output besides the trace to the JavaScript Console of the ESTK.

Description

Bridge sends a BridgeTalk message to Photoshop, passing a script that creates an array on the target side. Photoshop serializes the array in order to returns it as the result of the initial message.

In processing the result, Bridge evaluates the serialized array in order to reconstruct it.

Defined in SnpSendArray.jsx


Field Summary
 String requiredContext
          The context in which this snippet can run.
 
Constructor Summary
SnpSendArray()
           
 
Method Summary
 Boolean canRun()
           Determines whether snippet can be run given current context.
 Boolean run()
           Functional part of this snippet.

Field Detail

requiredContext

String requiredContext

Constructor Detail

SnpSendArray

SnpSendArray()

Method Detail

canRun

Boolean canRun()

run

Boolean run()

AdobeBridgeCS5SDK

http://www.adobe.com/devnet/bridge
Documentation generated by JSDoc on Tue Apr 27 10:21:34 2010