ExtendScript ToolKit

# OpenImageInPhotoshop Class Reference

List of all members.

## Public Member Functions
void | OpenImageInPhotoshop ()
Boolean | run ()
| Functional part of this snippet.
Boolean | canRun ()
| Determines whether snippet can be run given current context.
## Public Attributes
String | requiredContext
| The context in which this snippet can run.
File | imageFile
| The Image file to be used to load into Adobe Photoshop.

## Constructor & Destructor Documentation

void OpenImageInPhotoshop::OpenImageInPhotoshop | ( |  | ) |

## Member Function Documentation

Boolean OpenImageInPhotoshop::run | ( |  | ) |

Functional part of this snippet.

Sends the image file to Photoshop for editing, using a cross-DOM function.

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

Boolean OpenImageInPhotoshop::canRun | ( |  | ) |

Determines whether snippet can be run given current context.

The snippet will fail if these preconditions are not met:

- The image file SnpOpenInPhotoshop.jpg is in the resources folder.
- Photoshop must be running

Returns:
  True if this snippet can run, false otherwise

## Member Data Documentation

String OpenImageInPhotoshop::requiredContext

The context in which this snippet can run.

File OpenImageInPhotoshop::imageFile

The Image file to be used to load into Adobe Photoshop.

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

- OpenImageInPhotoshop.jsx

Copyright© 2008 Adobe Systems Incorporated. All rights reserved.

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