JavaScript Scripting Reference
Preferences
Options to define for the
Properties table for the
Note:
Because the
preferences
app.preferences.rulerUnits = Units.PIXELS
app.preferences.typeUnits = TypeUnits.PIXELS
The following code incorrectly uses an upper case P:
app.Preferences.rulerUnits = Units.PIXELS
app.Preferences.typeUnits = TypeUnits.PIXELS
Note:
Defining the
(Windows) or Photoshop > Preferences in the Adobe Photoshop CS3 application. For explanations
of individual settings, please refer to Adobe Photoshop CS3 Help.
Properties
Property
additionalPluginFolder
appendExtension
askBeforeSavingLayeredTIFF
autoUpdateOpenDocuments
beepWhenDone
colorChannelsInColor
colorPicker
columnGutter
Adobe Photoshop CS3
property of the
preferences
object).
app
class is a property of the
Preferences
, rather than the class name,
properties is basically equivalent to selecting Edit > Preferences
preferences
Value Type
File
SaveBehavior
boolean
boolean
boolean
boolean
ColorPicker
number (double)
object. See
preferencesFolder
app
Application
object, you use the property name,
, in your code. For example:
Preferences
What it is
Read-write. The path to an additional
plug-in folder.
Note:
Valid only when
useAdditionalPluginFolder =
true
useAdditionalPluginFolder.
Note:
For information about the File
object, see the JavaScript Tools
Guide
Read-write. Save files with extensions on
Windows.
Read-write. Indicates whether to ask the
user to verify layer preservation options
when saving a file in TIFF format.
Read-write. Indicates whether to
automatically update open documents.
Read-write. Indicates whether to beep
when a process finishes.
Read-write. Indicates whether to display
component channels in the Channels
palette in color.
Read-write.
Read-write. The width of the column
gutters (in points). (0.1 - 600.0).
JavaScript Object Reference
(in the
. See
158