Adobe 23101764 Scripting Guide - Page 45
Advanced Scripting
UPC - 718659340025
View all Adobe 23101764 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 highlights
Scripting Photoshop 3 Advanced Scripting 3.4 Advanced Scripting Having familiarized yourself with the basic "Hello, World!" script, you are now ready to move on to more advanced scripting techniques such as configuring document preferences, applying color to text items, and rasterizing text so that wrap an d blur processing can be applied to words. In this section, we describe sample code that takes you step-by-step through an extended script to successively produce the output illustrated below. 1 Document Preferences 2 Displaying Colored Text 3 Applying a Wave Filter 4 Applying a Blur Filter 3.4.1 Advanced JavaScript The following JavaScript code sample is broken down into four sections, the first of which deals with configuring document preferences. NOTE: In JavaScript, the Photoshop Application object is already created for you behind the scenes. You do not have to make an explicit object reference to it. Photoshop CS Scripting Guide 41