Adobe 23101764 Scripting Guide - Page 36

Viewing Photoshop's AppleScript dictionary

Page 36 highlights

Scripting Photoshop 3 Viewing Photoshop objects, commands and methods 3.2.1 Viewing Photoshop's AppleScript dictionary 1. Start Photoshop, then your "Script Editor." 2. In Script Editor, choose "File > Open Dictionary". Script Editor displays an "Open Dictionary" dialog. 3. Find and select the Photoshop application and click the "Open" button. Script Editor displays a list of Photoshop's objects and commands and the properties and elements associated with each object, as well as the parameters for each command. NOTE: When viewing the Photoshop dictionary using Apple's Script Editor, the complete list of open and save formats cannot be displayed because of the large number of choices available. The complete list of available open and save formats are listed below. open anything -- the file(s) to be opened [as Acrobat TouchUp Image/Alias PIX/BMP/CompuServe GIF/ EPS/EPS PICT preview/EPS TIFF Preview/Electric Image/Filmstrip/JPEG/ PCX/PDF/PICT file/PICT resource/PNG/Photo CD/Photoshop DCS 1.0/ Photoshop DCS 2.0/Photoshop EPS/Photoshop format/Photoshop PDF/ Pixar/Portable Bitmap/raw/SGI RGB/Scitex CT/SoftImage/TIFF/Targa/ Wavefront RLA/Wireless Bitmap] save reference -- the object or objects to be operated upon [as Alias PIX/BMP/CompuServe GIF/Electric Image/JPEG/PCX/ PICT file/PICT resource/PNG/Photoshop DCS 1.0/Photoshop DCS 2.0/ Photoshop EPS/Photoshop PDF/Photoshop format/Pixar/Portable Bitmap/ raw/SGI RGB/Scitex CT/SoftImage/TIFF/Targa/Wavefront RLA/Wireless Bitmap] Photoshop CS Scripting Guide 32

  • 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
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105

Photoshop CS Scripting Guide
32
Scripting Photoshop
Viewing Photoshop objects, commands and methods
3
3.2.1
Viewing Photoshop’s AppleScript dictionary
1.
Start Photoshop, then your “Script Editor.”
2.
In Script Editor, choose “File > Open Dictionary”. Script Editor displays an “Open
Dictionary” dialog.
3.
Find and select the Photoshop application and click the “Open” button. Script Editor
displays a list of Photoshop’s objects and commands and the properties and elements
associated with each object, as well as the parameters for each command.
N
OTE
:
When viewing the Photoshop dictionary using Apple’s Script Editor, the complete list
of open and save formats cannot be displayed because of the large number of choices
available. The complete list of available open and save formats are listed below.
open
anything
-- the
le(s) to be opened
[as Acrobat TouchUp Image/Alias PIX/BMP/CompuServe GIF/ EPS/EPS PICT
preview/EPS TIFF Preview/Electric Image/Filmstrip/JPEG/ PCX/PDF/PICT
le/PICT
resource/PNG/Photo CD/Photoshop DCS 1.0/ Photoshop DCS 2.0/Photoshop EPS/Photoshop
format/Photoshop PDF/ Pixar/Portable Bitmap/raw/SGI RGB/Scitex
CT/SoftImage/TIFF/Targa/ Wavefront RLA/Wireless Bitmap]
save
reference
-- the object or objects to be operated upon
[as Alias PIX/BMP/CompuServe GIF/Electric Image/JPEG/PCX/ PICT
le/PICT
resource/PNG/Photoshop DCS 1.0/Photoshop DCS 2.0/ Photoshop EPS/Photoshop
PDF/Photoshop format/Pixar/Portable Bitmap/ raw/SGI RGB/Scitex
CT/SoftImage/TIFF/Targa/Wavefront RLA/Wireless Bitmap]