Adobe InDesign CS5 Server (7.0) Object Model JS: ServerSetting

InDesign Server CS5

Class

ServerSetting

 Server specific runtime settings. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
ServerSetting
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
configurationstring readonlyThe configuration name for this instance of the server.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
imagePreviewbool r/wIf true, generates image previews.
iorFileFile readonlyLocation to write the IOR file for CORBA.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
javascriptUibool r/wIf true, makes the native JavaScript user interface available.
maximumErrorsnumber r/wMaximum number of errors to save.
parentApplication readonlyThe parent of the ServerSetting (a Application).
pluginPaths Array of File readonlyAdditional paths from which to load plugins.
portnumber readonlyThe socket the server uses to service SOAP requests.
propertiesObject r/wA property that allows setting of several properties at the same time.
sendCrashLogsbool readonlyIf true, send crash log data to Adobe.
useConsolebool readonlyIf true, output is going to a console window.
useErrorListbool r/wIf true, errors are saved in the error list.
useEventLogbool readonlyIf true, output is redirected to the system event log.
useStructuredEventHandlerbool readonlyIf true, install structured event handler.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of ServerSetting getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the ServerSetting.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.serverSettings

Return

Array of ServerSetting ServerSetting.getElements ()

Jongware, 23-Mar-2011 v3.0.3dContents :: Index