Photoshop7.0 Scripting Guide

ADVERTISEMENT


Photoshop7.0 Scripting Guide cover page
if you do not have Windows Scripting Host or would like more information about Windows Scripting Host visit the Microsoft Windows Script Technologies Web site at http://msdn … Photoshop7.0 Scripting Guide 6 Introduction What is scripting? 1 1.2 Whatisscripting? A script is a series of commands that tells Photoshopto perform a set of specified actions. These actions can be simple, and affect only a single object in the current document, or complex and affect many objects ina Photoshop document. The actions can call …

Photoshop7.0 Scripting Guide 8 Introduction Legacy COMscripting 1 the facilities to directly address other applications. For example, you cannot easily writea JavaScriptto manage workflows involving Photoshopanda database management program. AppleScriptand Visual Basic are only offered on their respective platforms. However, you can write scripts in those languages to control multiple applications. For example, you can write an AppleScriptthat first manipulates a bitmap in Photoshopandthen commands a web design application to incorporate it. This same cross-application capability is also available with Visual Basicon Windows. You may also use other scripting languages when working with Photoshop Scripting Support. On MacOS, any language which lets you send Apple events, such as MacPerl, TCL, or Latenight Software’sJavaScript component, can be used to script Photoshop. On Windows, any language which is COM aware can be used to script Photoshop. This includes languages available in Windows Scripting Host, such as VBScriptandJScript, as well as other scripting languages like Perl, Tcl/Tk, and Python. 1.8 Legacy COMscripting Photoshop5, Photoshop 6 and Photoshop 7 support COM scripting without the optional Scripting Support plug-in. This scripting interface is described in the Photoshop SDK documentation in the”OLE Automation Programming Guide.” You can use both the oldstype COM scripts and the new style COM scripts with Photoshop 7.0, but you have to modify the way that you refer to the Photoshop application object in your old scripts after you install ScriptingSupport. Typically you would create a Photoshop application instance by saying: Set App=CreateObject(“Photo shop.Application”) after installingScriptingSupport, you must change the above code to Set App=CreateObject(“Photo shop.Application.7″) Note that the latter version will work both with and without ScriptingSupport installed….

Download Photoshop7.0 Scripting Guide.pdf

Leave a Reply


Map: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67