Adobe is nice enough to include extensive scripting documentation and tools with Photoshop, which means you already have them on your hard disk. In addition, many script-oriented Web sites provide free scripts and forums where you can ask questions and exchange ideas and code. Scripting DocumentationIn the Scripting Guide folder inside the Adobe Photoshop CS2 application folder, you'll find the following documentation for scripting:
The first PDF you'll probably want to read is the Photoshop Scripting Guide, because that document gives you an overview of scripting in Photoshop. After you read that, refer to one of the other three documents for the specific scripting language you want to use. Loading ScriptsPhotoshop loads scripts from the Scripts folder, located inside the Presets folder in the Adobe Photoshop CS2 application folder. You'll find a number of sample scripts already stored there, and it's where you should store scripts that you want to see in the File > Scripts submenu in Photoshop. The scripts in the Scripts folder also appear in Bridge, in the Tools menu. In Photoshop, you can also load scripts from any disk or mounted volume by choosing File > Scripts > Browse. Scripting UtilitiesPhotoshop installs a few utilities that help you create and use scripts, which are all located inside the Adobe Photoshop CS2 application folder. You can also use other utilities that are included with your operating system. Here's an overview of what you already have:
Web Sites About ScriptingThere are many Web sites where you can find scripting tutorials, information, discussions, and examples. Here are just a few to get you started; a search engine will turn up many more: The Adobe Design Center, which contains scripts for Photoshop share.studio.adobe.com/axBrowseSubmit.asp?t=74 Adobe Design Center scripts for Bridge share.studio.adobe.com/axBrowseSubmit.asp?c=222 JavaScript Reference for Bridge www.adobe.com/products/creativesuite/pdfs/bridge_javascript_ref.pdf The Adobe User-to-User Forum for Photoshop Scripting Go to www.adobeforums.com/, then click Adobe Photoshop and ImageReady, then click Photoshop Scripting. Jeff Tranberry's Photoshop scripting page www.tranberry.com/photoshop/photoshop_scripting/index.html The Fotofects scripting tutorial fotofects.com/articles/362/1/Photoshop-Scripting-Basics |