Packagecom.adobe.photoshop
Classpublic class Preferences
InheritancePreferences Inheritance PhotoshopHostObject Inheritance CSHostObject Inheritance flash.utils.Proxy

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.



Public Properties
 PropertyDefined By
  additionalPluginFolder : File
The path to the additional plug-in folder.
Preferences
  appendExtension : SaveBehavior
Save files with extensions on Windows.
Preferences
  askBeforeSavingLayeredTIFF : Boolean
If true, asks the user to verify layer preservation options when saving a file in TIFF format.
Preferences
  autoUpdateOpenDocuments : Boolean
If true, automatically updates open documents.
Preferences
  beepWhenDone : Boolean
If true, alerts the user when a process finishes.
Preferences
  colorChannelsInColor : Boolean
If true, displays component channels in the Channels palette in color.
Preferences
  colorPicker : ColorPicker
The color picker to use.
Preferences
  columnGutter : Number
The gutter of columns (in points)
Preferences
  columnWidth : Number
The width of columns (in points)
Preferences
  createFirstSnapshot : Boolean
If true, automatically makes the first snapshot when a new document is created.
Preferences
  dynamicColorSliders : Boolean
If true, dynamic color sliders appear in the Color palette.
Preferences
  editLogItems : EditLogItemsType
Options for edit log items.
Preferences
  exportClipboard : Boolean
If true, retains Adobe Photoshop contents on the clipboard after you exit the application.
Preferences
  fontPreviewSize : FontPreviewType
Options for showing font previews in the type tool font menus.
Preferences
  fullSizePreview : Boolean
If true, shows the image preview as a full size image.
Preferences
  gamutWarningOpacity : Number
The opacity (as a percentage) of the warning color for out-of-gamut colors.
Preferences
  gridSize : GridSize
The size of grid squares.
Preferences
  gridStyle : GridLineStyle
The formatting style for non-printing grid lines.
Preferences
  gridSubDivisions : Number
The value by which to subdivide the grid.
Preferences
  guideStyle : GuideLineStyle
The formatting style for non-printing guide lines.
Preferences
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  iconPreview : Boolean
If true, shows the image preview as a thumbnail.
Preferences
  imageCacheForHistograms : Boolean
If true, shows the current image cache used to create the histogram.
Preferences
  imageCacheLevels : Number
The number of images to hold in the cache.
Preferences
  imagePreviews : SaveBehavior
The behavior mode to use when saving files.
Preferences
  interpolation : ResampleMethod
The method to use to assign color values to any new pixels created when an image is resampled or resized.
Preferences
  keyboardZoomResizesWindows : Boolean
If true, automatically resizes the window when zooming in or out using keyboard shortcuts.
Preferences
  macOSThumbnail : Boolean
If true, creates a thumbnail when saving the image in Mac OS.
Preferences
  maximizeCompatibility : QueryStateType
The behavior to use to check whether to maximize compatibility when opening Adobe Photoshop (PSD) files.
Preferences
  maxRAMuse : Number
Maximum percentage of available RAM used by Photoshop.
Preferences
  nonLinearHistory : Boolean
If true, allows non-linear history.
Preferences
  numberOfHistoryStates : Number
The number of history states to preserve.
Preferences
  otherCursors : OtherPaintingCursors
The type of pointer to use.
Preferences
  paintingCursors : PaintingCursors
The type of pointer to use.
Preferences
 Inheritedparent : *
[read-only]
PhotoshopHostObject
  pixelDoubling : Boolean
If true, halves the resolution or (doubles the size of pixels) to make previews display more quickly.
Preferences
  pointSize : PointType
The point/pica size.
Preferences
  recentFileListLength : Number
The number of items in the recent file list.
Preferences
  rulerUnits : Units
The unit that the scripting system uses when receiving and returning values.
Preferences
  saveLogItems : SaveLogItemsType
Options for saving the history log items.
Preferences
  saveLogItemsFile : File
The path to the history log file.
Preferences
  savePaletteLocations : Boolean
If true, makes new palette locations the default location.
Preferences
  showAsianTextOptions : Boolean
If true, Asian text options are displayed in the Paragraph palette.
Preferences
  showEnglishFontNames : Boolean
If true, Asian font names are listed in English.
Preferences
  showSliceNumber : Boolean
If true, displays slice numbers in the document window when using the Slice tool.
Preferences
  showToolTips : Boolean
If true, pop-up definitions are displayed on mouseover.
Preferences
  smartQuotes : Boolean
If true, curly quote marks are used.
Preferences
  textFontSize : FontSize
size of the small font used in panels and dialogs
Preferences
  typeUnits : TypeUnits
The unit type-size that the numeric inputs are assumed to represent.
Preferences
  useAdditionalPluginFolder : Boolean
If true, uses an additional folder for compatible plug-ins stored with a different application.
Preferences
  useDiffusionDither : Boolean
If true, uses diffusion dither.
Preferences
  useHistoryLog : Boolean
If true, history logging is enabled.
Preferences
  useLowerCaseExtension : Boolean
If true, the file extension is lowercase.
Preferences
  useShiftKeyForToolSwitch : Boolean
If true, enables cycling through a set of hidden tools.
Preferences
  useVideoAlpha : Boolean
If true, enables Adobe Photoshop to send transparency information to your computer?s video board.
Preferences
  windowsThumbnail : Boolean
If true, creates a thumbnail when saving the image in Windows.
Preferences
Public Methods
 MethodDefined By
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
additionalPluginFolderproperty
additionalPluginFolder:File

The path to the additional plug-in folder. Valid only when 'use additional plugin folder' = true.


Implementation
    public function get additionalPluginFolder():File
    public function set additionalPluginFolder(value:File):void
appendExtensionproperty 
appendExtension:SaveBehavior

Save files with extensions on Windows.


Implementation
    public function get appendExtension():SaveBehavior
    public function set appendExtension(value:SaveBehavior):void
askBeforeSavingLayeredTIFFproperty 
askBeforeSavingLayeredTIFF:Boolean

If true, asks the user to verify layer preservation options when saving a file in TIFF format.


Implementation
    public function get askBeforeSavingLayeredTIFF():Boolean
    public function set askBeforeSavingLayeredTIFF(value:Boolean):void
autoUpdateOpenDocumentsproperty 
autoUpdateOpenDocuments:Boolean

If true, automatically updates open documents.


Implementation
    public function get autoUpdateOpenDocuments():Boolean
    public function set autoUpdateOpenDocuments(value:Boolean):void
beepWhenDoneproperty 
beepWhenDone:Boolean

If true, alerts the user when a process finishes.


Implementation
    public function get beepWhenDone():Boolean
    public function set beepWhenDone(value:Boolean):void
colorChannelsInColorproperty 
colorChannelsInColor:Boolean

If true, displays component channels in the Channels palette in color.


Implementation
    public function get colorChannelsInColor():Boolean
    public function set colorChannelsInColor(value:Boolean):void
colorPickerproperty 
colorPicker:ColorPicker

The color picker to use.


Implementation
    public function get colorPicker():ColorPicker
    public function set colorPicker(value:ColorPicker):void
columnGutterproperty 
columnGutter:Number

The gutter of columns (in points)


Implementation
    public function get columnGutter():Number
    public function set columnGutter(value:Number):void
columnWidthproperty 
columnWidth:Number

The width of columns (in points)


Implementation
    public function get columnWidth():Number
    public function set columnWidth(value:Number):void
createFirstSnapshotproperty 
createFirstSnapshot:Boolean

If true, automatically makes the first snapshot when a new document is created.


Implementation
    public function get createFirstSnapshot():Boolean
    public function set createFirstSnapshot(value:Boolean):void
dynamicColorSlidersproperty 
dynamicColorSliders:Boolean

If true, dynamic color sliders appear in the Color palette.


Implementation
    public function get dynamicColorSliders():Boolean
    public function set dynamicColorSliders(value:Boolean):void
editLogItemsproperty 
editLogItems:EditLogItemsType

Options for edit log items.


Implementation
    public function get editLogItems():EditLogItemsType
    public function set editLogItems(value:EditLogItemsType):void
exportClipboardproperty 
exportClipboard:Boolean

If true, retains Adobe Photoshop contents on the clipboard after you exit the application.


Implementation
    public function get exportClipboard():Boolean
    public function set exportClipboard(value:Boolean):void
fontPreviewSizeproperty 
fontPreviewSize:FontPreviewType

Options for showing font previews in the type tool font menus.


Implementation
    public function get fontPreviewSize():FontPreviewType
    public function set fontPreviewSize(value:FontPreviewType):void
fullSizePreviewproperty 
fullSizePreview:Boolean

If true, shows the image preview as a full size image.


Implementation
    public function get fullSizePreview():Boolean
    public function set fullSizePreview(value:Boolean):void
gamutWarningOpacityproperty 
gamutWarningOpacity:Number

The opacity (as a percentage) of the warning color for out-of-gamut colors. Range: 0 to 100.


Implementation
    public function get gamutWarningOpacity():Number
    public function set gamutWarningOpacity(value:Number):void
gridSizeproperty 
gridSize:GridSize

The size of grid squares.


Implementation
    public function get gridSize():GridSize
    public function set gridSize(value:GridSize):void
gridStyleproperty 
gridStyle:GridLineStyle

The formatting style for non-printing grid lines.


Implementation
    public function get gridStyle():GridLineStyle
    public function set gridStyle(value:GridLineStyle):void
gridSubDivisionsproperty 
gridSubDivisions:Number

The value by which to subdivide the grid.


Implementation
    public function get gridSubDivisions():Number
    public function set gridSubDivisions(value:Number):void
guideStyleproperty 
guideStyle:GuideLineStyle

The formatting style for non-printing guide lines.


Implementation
    public function get guideStyle():GuideLineStyle
    public function set guideStyle(value:GuideLineStyle):void
iconPreviewproperty 
iconPreview:Boolean

If true, shows the image preview as a thumbnail.


Implementation
    public function get iconPreview():Boolean
    public function set iconPreview(value:Boolean):void
imageCacheForHistogramsproperty 
imageCacheForHistograms:Boolean

If true, shows the current image cache used to create the histogram.


Implementation
    public function get imageCacheForHistograms():Boolean
    public function set imageCacheForHistograms(value:Boolean):void
imageCacheLevelsproperty 
imageCacheLevels:Number

The number of images to hold in the cache. Range: 1 to 8.


Implementation
    public function get imageCacheLevels():Number
    public function set imageCacheLevels(value:Number):void
imagePreviewsproperty 
imagePreviews:SaveBehavior

The behavior mode to use when saving files.


Implementation
    public function get imagePreviews():SaveBehavior
    public function set imagePreviews(value:SaveBehavior):void
interpolationproperty 
interpolation:ResampleMethod

The method to use to assign color values to any new pixels created when an image is resampled or resized.


Implementation
    public function get interpolation():ResampleMethod
    public function set interpolation(value:ResampleMethod):void
keyboardZoomResizesWindowsproperty 
keyboardZoomResizesWindows:Boolean

If true, automatically resizes the window when zooming in or out using keyboard shortcuts.


Implementation
    public function get keyboardZoomResizesWindows():Boolean
    public function set keyboardZoomResizesWindows(value:Boolean):void
macOSThumbnailproperty 
macOSThumbnail:Boolean

If true, creates a thumbnail when saving the image in Mac OS.


Implementation
    public function get macOSThumbnail():Boolean
    public function set macOSThumbnail(value:Boolean):void
maximizeCompatibilityproperty 
maximizeCompatibility:QueryStateType

The behavior to use to check whether to maximize compatibility when opening Adobe Photoshop (PSD) files.


Implementation
    public function get maximizeCompatibility():QueryStateType
    public function set maximizeCompatibility(value:QueryStateType):void
maxRAMuseproperty 
maxRAMuse:Number

Maximum percentage of available RAM used by Photoshop. ( 5 - 100 )


Implementation
    public function get maxRAMuse():Number
    public function set maxRAMuse(value:Number):void
nonLinearHistoryproperty 
nonLinearHistory:Boolean

If true, allows non-linear history.


Implementation
    public function get nonLinearHistory():Boolean
    public function set nonLinearHistory(value:Boolean):void
numberOfHistoryStatesproperty 
numberOfHistoryStates:Number

The number of history states to preserve. Range: 1 to 100.


Implementation
    public function get numberOfHistoryStates():Number
    public function set numberOfHistoryStates(value:Number):void
otherCursorsproperty 
otherCursors:OtherPaintingCursors

The type of pointer to use.


Implementation
    public function get otherCursors():OtherPaintingCursors
    public function set otherCursors(value:OtherPaintingCursors):void
paintingCursorsproperty 
paintingCursors:PaintingCursors

The type of pointer to use.


Implementation
    public function get paintingCursors():PaintingCursors
    public function set paintingCursors(value:PaintingCursors):void
pixelDoublingproperty 
pixelDoubling:Boolean

If true, halves the resolution or (doubles the size of pixels) to make previews display more quickly.


Implementation
    public function get pixelDoubling():Boolean
    public function set pixelDoubling(value:Boolean):void
pointSizeproperty 
pointSize:PointType

The point/pica size.


Implementation
    public function get pointSize():PointType
    public function set pointSize(value:PointType):void
recentFileListLengthproperty 
recentFileListLength:Number

The number of items in the recent file list. Range: 0 to 30.


Implementation
    public function get recentFileListLength():Number
    public function set recentFileListLength(value:Number):void
rulerUnitsproperty 
rulerUnits:Units

The unit that the scripting system uses when receiving and returning values.


Implementation
    public function get rulerUnits():Units
    public function set rulerUnits(value:Units):void
saveLogItemsproperty 
saveLogItems:SaveLogItemsType

Options for saving the history log items.


Implementation
    public function get saveLogItems():SaveLogItemsType
    public function set saveLogItems(value:SaveLogItemsType):void
saveLogItemsFileproperty 
saveLogItemsFile:File

The path to the history log file.


Implementation
    public function get saveLogItemsFile():File
    public function set saveLogItemsFile(value:File):void
savePaletteLocationsproperty 
savePaletteLocations:Boolean

If true, makes new palette locations the default location.


Implementation
    public function get savePaletteLocations():Boolean
    public function set savePaletteLocations(value:Boolean):void
showAsianTextOptionsproperty 
showAsianTextOptions:Boolean

If true, Asian text options are displayed in the Paragraph palette.


Implementation
    public function get showAsianTextOptions():Boolean
    public function set showAsianTextOptions(value:Boolean):void
showEnglishFontNamesproperty 
showEnglishFontNames:Boolean

If true, Asian font names are listed in English.


Implementation
    public function get showEnglishFontNames():Boolean
    public function set showEnglishFontNames(value:Boolean):void
showSliceNumberproperty 
showSliceNumber:Boolean

If true, displays slice numbers in the document window when using the Slice tool.


Implementation
    public function get showSliceNumber():Boolean
    public function set showSliceNumber(value:Boolean):void
showToolTipsproperty 
showToolTips:Boolean

If true, pop-up definitions are displayed on mouseover.


Implementation
    public function get showToolTips():Boolean
    public function set showToolTips(value:Boolean):void
smartQuotesproperty 
smartQuotes:Boolean

If true, curly quote marks are used.


Implementation
    public function get smartQuotes():Boolean
    public function set smartQuotes(value:Boolean):void
textFontSizeproperty 
textFontSize:FontSize

size of the small font used in panels and dialogs


Implementation
    public function get textFontSize():FontSize
    public function set textFontSize(value:FontSize):void
typeUnitsproperty 
typeUnits:TypeUnits

The unit type-size that the numeric inputs are assumed to represent.


Implementation
    public function get typeUnits():TypeUnits
    public function set typeUnits(value:TypeUnits):void
useAdditionalPluginFolderproperty 
useAdditionalPluginFolder:Boolean

If true, uses an additional folder for compatible plug-ins stored with a different application.


Implementation
    public function get useAdditionalPluginFolder():Boolean
    public function set useAdditionalPluginFolder(value:Boolean):void
useDiffusionDitherproperty 
useDiffusionDither:Boolean

If true, uses diffusion dither.


Implementation
    public function get useDiffusionDither():Boolean
    public function set useDiffusionDither(value:Boolean):void
useHistoryLogproperty 
useHistoryLog:Boolean

If true, history logging is enabled.


Implementation
    public function get useHistoryLog():Boolean
    public function set useHistoryLog(value:Boolean):void
useLowerCaseExtensionproperty 
useLowerCaseExtension:Boolean

If true, the file extension is lowercase.


Implementation
    public function get useLowerCaseExtension():Boolean
    public function set useLowerCaseExtension(value:Boolean):void
useShiftKeyForToolSwitchproperty 
useShiftKeyForToolSwitch:Boolean

If true, enables cycling through a set of hidden tools.


Implementation
    public function get useShiftKeyForToolSwitch():Boolean
    public function set useShiftKeyForToolSwitch(value:Boolean):void
useVideoAlphaproperty 
useVideoAlpha:Boolean

If true, enables Adobe Photoshop to send transparency information to your computer?s video board. (Requires hardware support.)


Implementation
    public function get useVideoAlpha():Boolean
    public function set useVideoAlpha(value:Boolean):void
windowsThumbnailproperty 
windowsThumbnail:Boolean

If true, creates a thumbnail when saving the image in Windows. (Requires hardware support.)


Implementation
    public function get windowsThumbnail():Boolean
    public function set windowsThumbnail(value:Boolean):void