Viewing Photoshop CS2 objects, commands, and methodsCreating new objects in a scriptSetting the active objectSetting the active documentSetting the active layerSetting the active channelsOpening a documentSpecifying file formats to openSaving a documentSetting application preferencesSuppressing dialog boxesWorking with the Adobe Photoshop CS2 Object ModelUsing the Application objectUsing the Document objectManipulating a Document objectWorking with layer objectsCreating an ArtLayer objectReferencing ArtLayer objectsWorking with layer set objectsLinking Layer ObjectsApplying styles to layersUsing the Text Item objectCreating a Text Item objectDetermining a layer’s kindAdding and manipulating text in a text item objectWorking with Selection objectsCreating and defining a selectionStroking the selection borderInverting selectionsExpanding, contracting, and feathering selectionsFilling a selectionLoading and storing selectionsWorking with Channel objectsChanging channel typesUsing the DocumentInfo objectUsing history state objectsUsing Notifier objectsUsing the PathItem objectWorking with color objectsSolid color classesUsing hex valuesGetting and converting colorsComparing colorsGetting a web safe colorWorking with filtersOther filtersUnderstanding clipboard interactionUsing the Copy and Paste methodsUsing the Copy Merged methodWorking with unitsUnit valuesSpecial unit value typesUsing unit values in calculationsUnit value usageSetting ruler and type units in a scriptSample workflow automation JavaScriptsAdvanced scriptingWorking with document preferencesApplying color to a text itemApplying a wave filterDefining the area of a selection objectApplying a motionblur filter