GeneralPreference
General application preferences.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
Boolean, EventListeners, Events, File, Number, Object, PageNumberingOptions, PreviewPagesOptions, PreviewSizeOptions, String, ToolTipOptions, ToolsPanelOptions
Hierarchy:
Superclass: Preference
Class: GeneralPreference
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
If true, application bar is shown. |
||
read/write |
If true, on creating new char style through the new char style dialog, it will be exported to CC Libraries as well |
||
read/write |
If true, on creating new para style through the new para style dialog, it will be exported to CC Libraries as well |
||
read/write |
If true, on creating new swatch through the new swatch dialog, it will be exported to CC Libraries as well |
||
read/write |
If true, panel drawers close automatically. |
||
read/write |
If true, vertical reveal strips appear when palette UI is hidden. |
||
read/write |
The threshold at which to trigger font subsetting based on the number of glyphs the font contains. |
||
read/write |
Enable the creation of links on content place |
||
read/write |
When using a custom monitor resolution, what is the value of that resolution in pixels per inch |
||
read/write |
If true, enable content-aware fit as default while placing items |
||
read/write |
If true, floating windows can be docked by user as tabs. |
||
read/write |
Controls whether or not multi-touch gestures are enabled. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
Controls whether or not to greek vector graphics when dragging at high quality. |
||
read/write |
Controls whether or not to highlight object under selection tool. |
||
read/write |
If true, includes a preview in saved documents. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
read/write |
keyboard shortcut set |
||
readonly |
The value of the system reported main monitor resolution |
||
read/write |
Enable the mapping of styles on content place |
||
read/write |
Controls whether page items move when a page is repositioned from the UI. The option/alt key temporarily reverses this property |
||
read/write |
If true, documents open as tabs. |
||
Number (range 0 - 30) |
read/write |
Number of items to show in the Open Recent menu list. Range: 0 to 30 |
|
read/write |
The page numbering method. |
||
read/write |
If true, Large Tabs are shown for panels else Smaller tabs are shown |
||
readonly |
The parent of the GeneralPreference (a Application). |
||
read/write |
Specify the Pasteboard color preference (0 or 1). Specify 0 to set preference to Default White, and 1 to set preference to Match with Theme Color. |
||
read/write |
Controls whether or not to show thumbnails of imported files in the Place icon. |
||
read/write |
Controls whether or not you can select and interact with a locked item. When this is off, only position is locked. |
||
read/write |
The pages to create preview images for. Note: Valid when include preview is true. |
||
read/write |
The preview size. Note: Valid when include preview is true. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
set active workspace |
||
read/write |
Controls whether or not the anchor object adornment is shown. |
||
read/write |
Controls whether or not the content grabber adornment is shown. |
||
read/write |
Show the conveyor on content collector or content placer tool activation |
||
read/write |
If true, legacy new document dialog will be shown when Ctrl/Cmd + N are pressed. |
||
read/write |
Controls whether or not the live corners grabber adornment is shown. |
||
read/write |
Controls whether or not to show the master page overlay when a page is selected using the Page Tool. |
||
read/write |
If true, show start workspace when no documents are open |
||
read/write |
If true, show stock cart adornment on unlicensed stock images |
||
read/write |
Controls whether or not to dynamically display transformation information as part of the cursor while manipulating page items. |
||
read/write |
If true, show What's New dialog on startup. |
||
read/write |
The location in which to store temporary files. |
||
read/write |
Tool tip behavior. |
||
read/write |
Controls the appearance of the Tools panel. |
||
read/write |
Specify the Application User Interface brightness preference (from 0.0 to 1.0). To use color theme brightness preset values, specify 0.0 for Dark, 0.50 for Medium Dark, 0.51 for Medium Bright, and 1.0 for Bright. Any value between 0.0 and 1.0 will automatically be mapped to closest preset. |
||
read/write |
If true, objects after ungrouping go back to their original layers. |
||
readonly |
If true, application lives in a frame. |
||
read/write |
Enable the use of a custom monitor resolution in pixels per inch as opposed to querying the system settings |
||
read/write |
If true, use incoming spot color definition in case of conflict, when placing or pasting content |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
GeneralPreference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the GeneralPreference.
String toSpecifier ()
Retrieves the object specifier.
Object of
Application.generalPreferences
Event.parent
EventListener.parent
MutationEvent.parent