AdobeBridgeCS5SDK

Class SnpSendMessageToInDesign

Object
   |
   +--SnpSendMessageToInDesign

class SnpSendMessageToInDesign


Demonstrates basic cross-application communication using BridgeTalk messages, communicating between Bridge CS5 and InDesign CS5.

Usage

  1. Make sure Adobe Bridge CS5 is running and Adobe InDesign CS5 is running.
  2. Run the snippet in the ExtendScript Toolkit, with Bridge CS5 as the target (see Readme.txt)
  3. Inspect the JavaScript Console in the Toolkit to see the sequence of messages between Bridge CS5 and InDesign CS5.
  4. Switch to InDesign CS5; you should see a new document has been created, with a populated text frame.

Description

This script creates a BridgeTalk message object and sends it from Bridge CS5 to InDesign CS5. The message sends a function (createInDesignObjects()), which is executed in the scripting engine of InDesign CS5 to create a new document with a populated text frame.

Defined in SnpSendMessageToInDesign.jsx


Field Summary
 String requiredContext
          The context in which this snippet can run.
 
Constructor Summary
SnpSendMessageToInDesign()
           
 
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

SnpSendMessageToInDesign

SnpSendMessageToInDesign()

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