Adobe 23101764 Scripting Guide - Page 40
Visual Basic
UPC - 718659340025
View all Adobe 23101764 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 40 highlights
Scripting Photoshop 3 Your first Photoshop script 3.3.2 Visual Basic 1. Start Visual Basic and create a new project. Add the "Adobe Photoshop CS Object Library" reference to the project, as shown earlier. If you are using a built-in editor in a VBA application, skip to step 4. 2. Add a form to the project. 3. Create a new button on the form. Double-click the button to open the Code window. 4. Below we revisit the "Hello, World!" Visual Basic script from Chapter 2, with comments included. (We'll expand on this example in the Advanced Scripting section that follows). Photoshop CS Scripting Guide 36
Photoshop CS Scripting Guide
36
Scripting Photoshop
Your first Photoshop script
3
3.3.2
Visual Basic
1.
Start Visual Basic and create a new project. Add the “Adobe Photoshop CS Object Library”
reference to the project, as shown earlier. If you are using a built-in editor in a VBA
application, skip to step 4.
2.
Add a form to the project.
3.
Create a new button on the form. Double-click the button to open the Code window.
4.
Below we revisit the "Hello, World!" Visual Basic script from Chapter 2, with comments
included. (We’ll expand on this example in the Advanced Scripting section that follows).