Adobe 23101764 Scripting Guide - Page 34
What's Next
UPC - 718659340025
View all Adobe 23101764 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 34 highlights
Scripting basics 2 What's Next JS try { for (i = 0; i < app.documents.length; ++i) { var myName = app.documents[i].name; alert(myName); } } catch(someError) { alert( "JavaScript error occurred. Message = " + someError.description); } 2.11 What's Next The next chapter covers Photoshop-specific objects and components and describes advanced techniques for scripting the Photoshop application. The "Hello, World!" example is entended to include text filtering and document selection. Photoshop CS Scripting Guide 30
Photoshop CS Scripting Guide
30
Scripting basics
What’s Next
2
JS
try
{
for (i = 0; i < app.documents.length; ++i)
{
var myName = app.documents[i].name;
alert(myName);
}
}
catch(someError)
{
alert( "JavaScript error occurred. Message = " +
someError.description);
}
2.11 What’s Next
The next chapter covers Photoshop-speci
fi
c objects and components and describes advanced
techniques for scripting the Photoshop application. The "Hello, World!" example is entended
to include text
fi
ltering and document selection.