
Adobe Version Cue CS3 Client Programmer’s Guide 31
Adobe Version Cue CS3 Client Programmer’s Guide
Scripting Environment
FIGURE 13 Running Example 1 in ExtendScript Toolkit
Example: List Projects in a Version Cue Server
In the next example, we execute code to list the names of projects in a Version Cue Server. We
assume that the client is Adobe Bridge CS3. Follow these steps:
1. Launch Version Cue Server, if you have not already done so.
2. Make sure you have at least one project in the Version Cue Server.
3. If you have not already done so, launch Adobe Bridge CS3.
4. Launch the installed ExtendScript Toolkit 2.0.
5. Enter the code shown in Example 2. Make sure “Adobe Bridge” is the target application in
the Toolkit.
6. Execute the script. You should see a list projects on the Version Cue Server.
Ideally, you should be handling error conditions in a more graceful way than in the code frag-
ment in Example 2, where detailed error handling is omitted in the interest of brevity. Note
that we declare the server as “VC20”, because assuming a CS3 server when it is really CS2 will
cause problems and in general you should always assume CS2 (and use “VC20”) until it is
proven otherwise.