Adobe 23102480 Scripting Guide - Page 73

Action Manager Scripting Objects, Recording a Script using ScriptListener, Window > Actions

Page 73 highlights

Adobe Photoshop CS3 Scripting Guide Photoshop CS3 Action Manager 73 ➤ To uninstall the ScriptListener: 1. Close Photoshop CS3. 2. Verify that a copy of the file ScriptListener.8li still exists in the ..\Adobe Photoshop CS3\Scripting Guide\Utilities folder. 3. Delete the file ScriptListener.8li from the following location: ..\Adobe Photoshop CS\Plug-Ins\Automate 4. Delete the log files ScriptingListenerJS.log and ScriptingListenerVB.log from your desktop. Note: In Windows, even though you remove the ScriptListener from the Automate folder, it may continue to record actions. To prevent the ScriptingListenerJS.log file from becoming too large, delete it each time you finish playing a Photoshop CS3 action. Action Manager Scripting Objects The objects Action Descriptor, Action List, and Action Reference are part of the Action Manager functionality. For detailed information about these objects, see the appropriate reference manual, or use the object browser for the language you are using. Note: These objects are not available in AppleScript. Recording a Script using ScriptListener The section demonstrates how to create a script log file using ScriptListener. We will record the actions necessary to apply the emboss filter to a document. (By default, the Emboss filter is available only via the Photoshop CS3 interface.) Note: ScriptListener must be installed in the Automate folder before you begin the following procedure. See 'Installing ScriptListener' on page 72. ➤ To make the Emboss filter scriptable: 1. Open Photoshop CS3, then open a document. 2. Choose Window > Actions, then choose New Action from the Actions palette menu. 3. Name the action, then click Record. 4. Choose Filter > Stylize > Emboss. 5. Using the following settings: ● Angle: 135 ● Height: 3 ● Amount: 100 6. Click OK. 7. Check for the script log files: ● In Windows, the log files are in your desktop.

  • 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

Photoshop CS3
Adobe Photoshop CS3
Scripting Guide
Action Manager
73
To uninstall the ScriptListener:
1.
Close Photoshop CS3.
2.
Verify that a copy of the file
ScriptListener.8li
still exists in the
..\Adobe Photoshop
CS3\Scripting Guide\Utilities
folder.
3.
Delete the file
ScriptListener.8li
from the following location:
..\Adobe Photoshop CS\Plug-Ins\Automate
4.
Delete the log files
ScriptingListenerJS.log
and
ScriptingListenerVB.log
from your desktop.
Note:
In Windows, even though you remove the ScriptListener from the Automate folder, it may continue
to record actions. To prevent the
ScriptingListenerJS.log
file from becoming too large, delete it
each time you finish playing a Photoshop CS3 action.
Action Manager Scripting Objects
The objects
Action Descriptor
,
Action List
, and
Action Reference
are part of the Action Manager
functionality. For detailed information about these objects, see the appropriate reference manual, or use
the object browser for the language you are using.
Note:
These objects are not available in AppleScript.
Recording a Script using ScriptListener
The section demonstrates how to create a script log file using ScriptListener. We will record the actions
necessary to apply the emboss filter to a document. (By default, the Emboss filter is available only via the
Photoshop CS3 interface.)
Note:
ScriptListener must be installed in the
Automate
folder before you begin the following procedure.
See
‘Installing ScriptListener’ on page 72
.
To make the Emboss filter scriptable:
1.
Open Photoshop CS3, then open a document.
2.
Choose
Window > Actions
, then choose
New Action
from the Actions palette menu.
3.
Name the action, then click
Record
.
4.
Choose
Filter > Stylize > Emboss
.
5.
Using the following settings:
Angle: 135
Height: 3
Amount: 100
6.
Click
OK
.
7.
Check for the script log files:
In Windows, the log files are in your desktop.