ExtendScript ToolKit

# SaveAsDifferentFileType Class Reference

List of all members.

## Public Member Functions
void | SaveAsDifferentFileType ()
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 SaveAsDifferentFileType::SaveAsDifferentFileType | ( |  | ) |

## Member Function Documentation

Boolean SaveAsDifferentFileType::run | ( |  | ) |

Functional part of this snippet.

Creates the BridgeTalk message to send to Photoshop.

Returns:
  True if the snippet ran as expected, false otherwise. Returns false if the file 'SaveAsDifferentFileType.jpg' or Photoshop is not running.

Boolean SaveAsDifferentFileType::canRun | ( |  | ) |

Determines whether snippet can be run given current context.

The snippet will fail if these preconditions are not met:

- Photoshop must be running
- File 'SaveAsDifferentFileType.jpg' must exist in the sdksamples/resources directory

Returns:
  True if this snippet can run, false otherwise

## Member Data Documentation

String SaveAsDifferentFileType::requiredContext

The context in which this snippet can run.

File SaveAsDifferentFileType::imageFile

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

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

- SaveAsDifferentFileType.jsx

Copyright© 2008 Adobe Systems Incorporated. All rights reserved.

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