ExtendScript ToolKit

# Using the Sample Projects

## Introduction

This page explains how to get started with the sample projects and create an external library for use in any of the supported Applications. The steps covered are:

- Build Tools
- Resource locations
- Building the library
- Installing the Library

## Build Tools

The project has been created for both Mac and Windows environments. Each of the projects can produce a basic sample of a C++ library for the respective operating systems. The build environments used to create each of the projects were:

- Win - MS Visual Studio 2005 (we have tested with version 8.0.50727.42)
- Mac - Xcode 2.4.x (we have tested with version 2.4.1)

### Project locations

The project files can be found in:

- Win - SDKINSTALL/samples/cpp/build/PROJECTNAME/win
- Mac - SDKINSTALL/sample/cpp/build/PROJECTNAME/mac

Each respective folder contains the necessary files to load the project. When the project files are opened all source and header files can be seen and there should be no need to alter any path locations within the project.

### Source and Script Files

The needed source and header files can be found in:

- SDKINSTALL/samples/cpp/source/ - contains the source and header files for the sample projects
- SDKINSTALL/samples/cpp/source/includes - contains the scripting core header files needed to implement an external object
- SDKINSTALL/samples/cpp/scripts/ - contains the script file to load and exercise the external objects
- SDKINSTALL/samples/cpp/docs/ - contains documentation on how to use the projects

## Installing an External Object

For general information on installing and External Object See Installing External Objects for information on how and where to install external objects or consult the JavaScript Tools Guide.

## Installing and Running the Sample Projects

The following pages describe how to build, install and run the sample projects:

See Using the BasicExternalObject Sample for information on how to build the External Object sample

See Using the SampleLib Example for information on how to build the Sample Lib sample

Copyright© 2008 Adobe Systems Incorporated. All rights reserved.

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