Photoshop CS Scripting Guide
33
Scripting Photoshop
Viewing Photoshop objects, commands and methods
3
3.2.2 Viewing Photoshop’s type library (VB)
1. In any Visual Basic project, choose “Project > References.” If you are using a built-in editor
in a VBA application, choose “Tools > References.”
2. Turn on the “Adobe Photoshop CS Object Library” option from the list of available
references and click the “OK” button.
3. Choose “View > Object Browser.” Visual Basic displays the “Object Browser” window.
4. Choose “Photoshop” from the list of open libraries shown in the top-left pull-down menu.
5. Click an object class such as Document (see below) to display more information.
3.2.3 Viewing the JavaScript Environment
Because JavaScript is platform independent, there is no native script editor associated with it.
Photoshop, however, provides a built-in run-time environment for executing JavaScripts. For
more information on using JavaScript with Photoshop, see the JavaScript Reference Guide on
the installation CD.