Adobe ExtendScript Toolkit

ExtendScript ToolKit

# MessagingBetweenApps Class Reference

List of all members.

## Public Member Functions

void | MessagingBetweenApps ()
Boolean | run ()
| Functional part of this snippet.
Boolean | canRun ()
| Determines whether snippet can be run given current context.

## Public Attributes

int | numberOfMessagesToSend
| The number of messages to send back from Photoshop.
String | requiredContext
| The context in which this snippet can run.

## Constructor & Destructor Documentation

void MessagingBetweenApps::MessagingBetweenApps | ( |  | ) |

## Member Function Documentation

Boolean MessagingBetweenApps::run | ( |  | ) |

Functional part of this snippet.

Constructs the BridgeTalk message, including an onResult callback, and passes it to Photoshop.

Returns:
  True if the snippet ran as expected, false otherwise.

Boolean MessagingBetweenApps::canRun | ( |  | ) |

Determines whether snippet can be run given current context.

The snippet fails if these preconditions are not met:

- Photoshop must be running

Returns:
  True if this snippet can run, false otherwise

## Member Data Documentation

int MessagingBetweenApps::numberOfMessagesToSend

The number of messages to send back from Photoshop.

String MessagingBetweenApps::requiredContext

The context in which this snippet can run.

The documentation for this class was generated from the following file:

- MessagingBetweenApps.jsx

Copyright© 2008 Adobe Systems Incorporated. All rights reserved.

Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks