Adobe 23101764 Scripting Guide - Page 38
save JavaScripts here, JavaScripts display here
UPC - 718659340025
View all Adobe 23101764 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 38 highlights
Scripting Photoshop 3 Viewing Photoshop objects, commands and methods The singular advantage to writing JavaScripts is that the scripts run on any platform, regardless of the underlying hardware or operating system. JavaScript is consequently the language of choice for developers not wishing to lock themselves into a single proprietary platform. Use the text editor of your choice to create JavaScripts. To make scripts accessible to Photoshop, drag-and-drop your files directly into the "Presets>Scripts" folder. save JavaScripts here Restart the Photoshop application to display JavaScripts in the Scripts menu. The Scripts menu The Scripts menu displays under the Photoshop File menu. When a Scripts item is selected, a dialog is presented from which you can select a JavaScript for execution. JavaScripts display here A collection of JavaScripts comes pre-installed with Photoshop. These scripts display alongside the Scripts menu, as illustrated above. You can use these scripts "out-of-the-box" or create your own. Use the "Browse" option to locate scripts you've created in other directories or to find scripts that reside on a network. On both Mac and Windows, a JavaScript file must be saved as a text file with a '.js' file name extension. Click a script to execute it. If there is an error encountered during script execution, an error dialog will be displayed containing the error message returned by the script. Photoshop CS Scripting Guide 34