Adobe Photoshop CS5 Object Library JS: Preferences

Photoshop CS5

Class

Preferences

 Options to define for the preferences property of the application object, basically equivalent to selecting Edit > Preferences (Windows) or Photoshop > Preferences in the Adobe Photoshop application.

Hierarchy

Object
Preferences

Properties

PropertyTypeAccessDescription
additionalPluginFolderFile r/wThe path to the additional plug-in folder. Valid only when 'use additional plugin folder' = true.
appendExtensionSaveBehavior:
SaveBehavior.NEVERSAVE
SaveBehavior.ALWAYSSAVE
SaveBehavior.ASKWHENSAVING
r/wSave files with extensions on Windows.
askBeforeSavingLayeredTIFFbool r/wIf true, asks the user to verify layer preservation options when saving a file in TIFF format.
autoUpdateOpenDocumentsbool r/wIf true, automatically updates open documents.
beepWhenDonebool r/wIf true, alerts the user when a process finishes.
colorChannelsInColorbool r/wIf true, displays component channels in the Channels palette in color.
colorPickerColorPicker:
ColorPicker.ADOBE
ColorPicker.APPLE
ColorPicker.WINDOWS
ColorPicker.PLUGIN
r/wThe color picker to use.
columnGutternumber r/wThe gutter of columns (in points)
columnWidthnumber r/wThe width of columns (in points)
createFirstSnapshotbool r/wIf true, automatically makes the first snapshot when a new document is created.
dynamicColorSlidersbool r/wIf true, dynamic color sliders appear in the Color palette.
editLogItemsEditLogItemsType:
EditLogItemsType.SESSIONONLY
EditLogItemsType.CONCISE
EditLogItemsType.DETAILED
r/wOptions for edit log items.
exportClipboardbool r/wIf true, retains Adobe Photoshop contents on the clipboard after you exit the application.
fontPreviewSizeFontPreviewType:
FontPreviewType.NONE
FontPreviewType.SMALL
FontPreviewType.MEDIUM
FontPreviewType.LARGE
r/wOptions for showing font previews in the type tool font menus.
fullSizePreviewbool r/wIf true, shows the image preview as a full size image.
gamutWarningOpacitynumber r/wThe opacity (as a percentage) of the warning color for out-of-gamut colors. Range: 0 to 100.
gridSizeGridSize:
GridSize.NONE
GridSize.SMALL
GridSize.MEDIUM
GridSize.LARGE
r/wThe size of grid squares.
gridStyleGridLineStyle:
GridLineStyle.SOLID
GridLineStyle.DASHED
GridLineStyle.DOTTED
r/wThe formatting style for non-printing grid lines.
gridSubDivisionsint r/wThe value by which to subdivide the grid.
guideStyleGuideLineStyle:
GuideLineStyle.SOLID
GuideLineStyle.DASHED
r/wThe formatting style for non-printing guide lines.
iconPreviewbool r/wIf true, shows the image preview as a thumbnail.
imageCacheForHistogramsbool r/wIf true, shows the current image cache used to create the histogram.
imageCacheLevelsint r/wThe number of images to hold in the cache. Range: 1 to 8.
imagePreviewsSaveBehavior:
SaveBehavior.NEVERSAVE
SaveBehavior.ALWAYSSAVE
SaveBehavior.ASKWHENSAVING
r/wThe behavior mode to use when saving files.
interpolationResampleMethod:
ResampleMethod.NONE
ResampleMethod.NEARESTNEIGHBOR
ResampleMethod.BILINEAR
ResampleMethod.BICUBIC
ResampleMethod.BICUBICSHARPER
ResampleMethod.BICUBICSMOOTHER
r/wThe method to use to assign color values to any new pixels created when an image is resampled or resized.
keyboardZoomResizesWindowsbool r/wIf true, automatically resizes the window when zooming in or out using keyboard shortcuts.
macOSThumbnailbool r/wIf true, creates a thumbnail when saving the image in Mac OS.
maxRAMuseint (range: 5 - 100) r/wMaximum percentage of available RAM used by Photoshop.
maximizeCompatibilityQueryStateType:
QueryStateType.ALWAYS
QueryStateType.ASK
QueryStateType.NEVER
r/wThe behavior to use to check whether to maximize compatibility when opening Adobe Photoshop (PSD) files.
nonLinearHistorybool r/wIf true, allows non-linear history.
numberOfHistoryStatesint r/wThe number of history states to preserve. Range: 1 to 100.
otherCursorsOtherPaintingCursors:
OtherPaintingCursors.STANDARDOTHER
OtherPaintingCursors.PRECISEOTHER
r/wThe type of pointer to use.
paintingCursorsPaintingCursors:
PaintingCursors.STANDARD
PaintingCursors.PRECISE
PaintingCursors.BRUSHSIZE
r/wThe type of pointer to use.
parentObject readonlyThe object's container.
pixelDoublingbool r/wIf true, halves the resolution or (doubles the size of pixels) to make previews display more quickly.
pointSizePointType:
PointType.POSTSCRIPT
PointType.TRADITIONAL
r/wThe point/pica size.
recentFileListLengthint r/wThe number of items in the recent file list. Range: 0 to 30.
rulerUnitsUnits:
Units.PIXELS
Units.INCHES
Units.CM
Units.MM
Units.POINTS
Units.PICAS
Units.PERCENT
r/wThe unit that the scripting system uses when receiving and returning values.
saveLogItemsSaveLogItemsType:
SaveLogItemsType.METADATA
SaveLogItemsType.LOGFILE
SaveLogItemsType.LOGFILEANDMETADATA
r/wOptions for saving the history log items.
saveLogItemsFileFile r/wThe path to the history log file.
savePaletteLocationsbool r/wIf true, makes new palette locations the default location.
showAsianTextOptionsbool r/wIf true, Asian text options are displayed in the Paragraph palette.
showEnglishFontNamesbool r/wIf true, Asian font names are listed in English.
showSliceNumberbool r/wIf true, displays slice numbers in the document window when using the Slice tool.
showToolTipsbool r/wIf true, pop-up definitions are displayed on mouseover.
smartQuotesbool r/wIf true, curly quote marks are used.
typeUnitsTypeUnits:
TypeUnits.PIXELS
TypeUnits.MM
TypeUnits.POINTS
r/wThe unit type-size that the numeric inputs are assumed to represent.
typenamestring readonlyThe class name of the object.
useAdditionalPluginFolderbool r/wIf true, uses an additional folder for compatible plug-ins stored with a different application.
useDiffusionDitherbool r/wIf true, uses diffusion dither.
useHistoryLogbool r/wIf true, history logging is enabled.
useLowerCaseExtensionbool r/wIf true, the file extension is lowercase.
useShiftKeyForToolSwitchbool r/wIf true, enables cycling through a set of hidden tools.
useVideoAlphabool r/wIf true, enables Adobe Photoshop to send transparency information to your computer�s video board. (Requires hardware support.)
windowsThumbnailbool r/wIf true, creates a thumbnail when saving the image in Windows. (Requires hardware support.)

Element of

Application.preferences

Jongware, 28-Aug-2012 v3.0.3iContents :: Index