Adobe 23101764 Scripting Guide - Page 8

System requirements

Page 8 highlights

Introduction 1 System requirements 1.5 System requirements The language you use to write scripts depends on your operating system: AppleScript for Mac; Visual Basic for Windows; or JavaScript, a cross-platform scripting language that can run on either Windows or Mac. While the scripting systems differ, the ways that they work with Photoshop are very similar. 1.5.1 Mac Any system that runs Photoshop CS will support scripting. You will also need AppleScript and a script editor installed. AppleScript and the Script Editor application from Apple are included with the Mac OS. For Mac OS X, they can be found in the Applications folder. If these items are not installed on your system, reinstall them from your original system software CD-ROM. As your scripts become more complex, you may find the need for debugging and productivity features not found in the Script Editor. There are many third-party script editors that can write and debug Apple Scripts. For more details, check: http://www.apple.com/applescript We use the Script Editor from Apple in this manual. For more information on the AppleScript scripting environment, see Section 3.2.1, "Viewing Photoshop's AppleScript dictionary 1.5.2 Windows Any Windows system that runs Photoshop CS will support scripting. You will also need either the Windows Scripting Host, Microsoft Visual Basic, or one of the applications that contains a Visual Basic editor. Most Windows systems include the Windows Scripting Host. 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.microsoft.com/scripting/). We use the Microsoft Visual Basic developer framework to edit scripts in this manual. For more information on the Visual Basic scripting environment, see Section 3.2.2, "Viewing Photoshop's type library (VB) Photoshop CS Scripting Guide 4

  • 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
4
Introduction
System requirements
1
1.5 System requirements
The language you use to write scripts depends on your operating system: AppleScript for Mac;
Visual Basic for Windows; or JavaScript, a cross-platform scripting language that can run on
either Windows or Mac. While the scripting systems differ, the ways that they work with
Photoshop are very similar.
1.5.1 Mac
Any system that runs Photoshop CS will support scripting. You will also need AppleScript and
a script editor installed. AppleScript and the Script Editor application from Apple are included
with the Mac OS. For Mac OS X, they can be found in the Applications folder. If these items
are not installed on your system, reinstall them from your original system software CD-ROM.
As your scripts become more complex, you may
nd the need for debugging and productivity
features not found in the Script Editor. There are many third-party script editors that can write
and debug Apple Scripts. For more details, check:
We use the Script Editor from Apple in this manual.
For more information on the AppleScript scripting environment, see
Section 3.2.1, “Viewing
Photoshop’s AppleScript dictionary
1.5.2 Windows
Any Windows system that runs Photoshop CS will support scripting. You will also need either
the Windows Scripting Host, Microsoft Visual Basic, or one of the applications that contains a
Visual Basic editor. Most Windows systems include the Windows Scripting Host. 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:
We use the Microsoft Visual Basic developer framework to edit scripts in this manual.
For more information on the Visual Basic scripting environment, see
Section 3.2.2, “Viewing
Photoshop’s type library (VB)