EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Spezifikationen Seite 1

Stöbern Sie online oder laden Sie Spezifikationen nach Software EDOBE XDOM TAKE 6 IR - PRODUCTSHEET herunter. EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 304
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - JAVASCRIPT TOOLS GUIDE

JAVASCRIPT TOOLS GUIDEADOBE® CREATIVE SUITE® 5

Seite 2

CHAPTER 1: Introduction ExtendScript overview 10The samples are located under the ExtendScript SDK root directory:SDKroot/Samples/javascript/ sam

Seite 3 - Contents

CHAPTER 4: User-Interface Tools Managing control titles 100XTo achieve a column orientation where the title appears above or below the graphic ele

Seite 4

CHAPTER 4: User-Interface Tools Managing control titles 101XUse spacing to override the default number of pixels separating the title from the gra

Seite 5

CHAPTER 4: User-Interface Tools Managing control titles 102XThis example demonstrates using characters and justify to vertically align the colons

Seite 6

CHAPTER 4: User-Interface Tools Localization in ScriptUI objects 103Margins around the title and graphic objectThe margins property specifies the

Seite 7

CHAPTER 4: User-Interface Tools Localization in ScriptUI objects 104standard. In this example, a btnText object contains localized text strings fo

Seite 8

CHAPTER 4: User-Interface Tools ScriptUI object reference 105ScriptUI object referenceScriptUI is a component that works with the ExtendScript Jav

Seite 9 - Introduction

CHAPTER 4: User-Interface Tools ScriptUI class 106compatabilityObject An object whose properties are the names of compatibility modes supported by

Seite 10

CHAPTER 4: User-Interface Tools ScriptUI class 107ScriptUI class functionsevents.createEvent()ScriptUi.events.createEvent (eventType)eventTypeThe

Seite 11 - External communication

CHAPTER 4: User-Interface Tools Common properties 108Environment objectThis global object is available through the ScriptUI.environment property.

Seite 12 - JavaScript variables

CHAPTER 4: User-Interface Tools Common properties 109childrenx x x x xxxxxxxxx xxxxxxcolumnsxdefaultElementxenabledx x x x xxxxxxxxxxxxxxxxexpande

Seite 13 - The ExtendScript Toolkit

CHAPTER 1: Introduction ExtendScript overview 11In addition to the basic set of common functions, some applications provide more extensive sets of

Seite 14 - Panel menus

CHAPTER 4: User-Interface Tools Window class 110Window classThe Window class defines these static properties and functions. Window instances creat

Seite 15 - Document windows

CHAPTER 4: User-Interface Tools Window class 111Window class functionsAccess these function through the class. For example:Window.alert(“Notificat

Seite 16 - Workspaces

CHAPTER 4: User-Interface Tools Window object 112Window objectWindow object constructorThe constructor creates and returns a new Window object, or

Seite 17 - Selecting scripts

CHAPTER 4: User-Interface Tools Window object 113Window object propertiesThe following element properties apply specifically to Window elements:X

Seite 18 - The Script Editor

CHAPTER 4: User-Interface Tools Window object 114maximizedBoolean When true, the window is expanded.minimizedBoolean When true, the window is mini

Seite 19 - Navigation aids

CHAPTER 4: User-Interface Tools Window object 115Container propertiesThe following table shows properties that apply to Window objects and contain

Seite 20 - Bookmarks

CHAPTER 4: User-Interface Tools Window object 116alignmentString, or Array of 2 StringsApplies to child elements of a container. If defined, this

Seite 21

CHAPTER 4: User-Interface Tools Window object 117margins Margins A Margins object describing the number of pixels between the edges of this contai

Seite 22 - Coding aids

CHAPTER 4: User-Interface Tools Window object 118Window object functionsThese functions are defined for Window instances, and as indicated for con

Seite 23 - Version comments

CHAPTER 4: User-Interface Tools Window object 119addEventListener() windowObj.addEventListener (eventName, handler[, capturePhase]); eventNameThe

Seite 24 - Searching in text

CHAPTER 1: Introduction Scripting for specific applications 12Scripting for specific applicationsOn startup, all Adobe JavaScript-enabled applicat

Seite 25

CHAPTER 4: User-Interface Tools Window object 120findElement() windowOrContainerObj.findElement (name)nameThe name of the element, as specified in

Seite 26 - Syntax marking

CHAPTER 4: User-Interface Tools Window object 121removeEventListener() windowObj.removeEventListener (eventName, handler[, capturePhase]); eventNa

Seite 27 - Debugging in the Toolkit

CHAPTER 4: User-Interface Tools Window object 122Window event-handling callbacksThe following callback functions can be defined to respond to even

Seite 28 - The JavaScript console

CHAPTER 4: User-Interface Tools Control objects 123Control objectsUI elements that belong to windows can be containers or controls. Containers sha

Seite 29 - Controlling code execution

CHAPTER 4: User-Interface Tools Control objects 124Control types and creation parametersThe following keywords can be used in string literals as t

Seite 30 - Out Of Memory, always

CHAPTER 4: User-Interface Tools Control objects 125dropdownlist DropDownListA drop-down list with zero or more items. Calls the onChange callback

Seite 31 - Setting breakpoints

CHAPTER 4: User-Interface Tools Control objects 126edittext (cont’d) enterKeySignalsOnChange: When false (the default), the control signals an onC

Seite 32 - Breakpoint icons

CHAPTER 4: User-Interface Tools Control objects 127group GroupA container for other controls. Containers have additional properties that control t

Seite 33 - Tracking data

CHAPTER 4: User-Interface Tools Control objects 128image ImageDisplays an icon or image.To add to a window w: w.add (“image” [, bounds, icon, {cre

Seite 34 - The call stack

CHAPTER 4: User-Interface Tools Control objects 129listbox (cont’d) creation_properties: Optional. An object that contains any of the following pr

Seite 35

132The ExtendScript ToolkitThe ExtendScript Toolkit provides an interactive development and testing environment for ExtendScript in all JavaScrip

Seite 36 - Inspecting object models

CHAPTER 4: User-Interface Tools Control objects 130panel (cont’d) creation_properties: Optional. An object that contains the following property: n

Seite 37

CHAPTER 4: User-Interface Tools Control objects 131radiobutton RadioButtonA dual-state control, grouped with other radiobuttons, of which only one

Seite 38

CHAPTER 4: User-Interface Tools Control objects 132scrollbar (cont’d) To add to a window w: w.add (“scrollbar” [, bounds, value, minvalue, maxvalu

Seite 39 - File System Access

CHAPTER 4: User-Interface Tools Control objects 133statictext StaticTextA text field that the user cannot change. To add to a window w: w.add (“st

Seite 40

CHAPTER 4: User-Interface Tools Control objects 134tab (cont’d) creation_properties: Optional. An object that contains the following property: nam

Seite 41 - Volume and drive names

CHAPTER 4: User-Interface Tools Control objects 135Control object propertiesThe following table shows the properties of ScriptUI control elements.

Seite 42 - Portability issues

CHAPTER 4: User-Interface Tools Control objects 136alignment (cont’d) For an array value, the first string element defines the horizontal alignmen

Seite 43 - File error handling

CHAPTER 4: User-Interface Tools Control objects 137imageObject A ScriptUIImage object, or the name of an icon resource, or the pathname or File ob

Seite 44 - File access error messages

CHAPTER 4: User-Interface Tools Control objects 138location Point A Point object describing the location of the element as an array, [x, y], repr

Seite 45 - Additional encodings

CHAPTER 4: User-Interface Tools Control objects 139selection (ListBox)Array of ListItemFor a ListBox, an array of ListItem objects for the current

Seite 46 - Common encoding names

CHAPTER 2: The ExtendScript Toolkit Configuring the Toolkit window 14You can, for example, adjust the relative sizes of the panels by dragging the

Seite 47 - File object

CHAPTER 4: User-Interface Tools Control objects 140subitemsArray For ListItem objects only. When the parent is a multi-column ListBox, the ListIte

Seite 48 - File class functions

CHAPTER 4: User-Interface Tools Control objects 141titleLayoutObject For a DropDownList, FlashPlayer, IconButton, Image, or TabbedPanel with a tit

Seite 49 - File object properties

CHAPTER 4: User-Interface Tools Control objects 142Control object functionsThe following table shows the methods defined for each element type, an

Seite 50

CHAPTER 4: User-Interface Tools Control objects 143dispatchEvent() controlObj.dispatchEvent (eventObj)eventObjAn object of the UIEvent base class.

Seite 51 - File object functions

CHAPTER 4: User-Interface Tools Control objects 144List control object functionsThe following table shows the methods defined for list objects onl

Seite 52

CHAPTER 4: User-Interface Tools Control objects 145FlashPlayer control functionsThese functions apply only to controls of type flashplayer. NOTE:

Seite 53

CHAPTER 4: User-Interface Tools Control objects 146invokePlayerFunction()flashPlayerObj.invokePlayerFunction(fnName, [arg1[,...argn]] )fnNameStrin

Seite 54

CHAPTER 4: User-Interface Tools Control objects 147Control event-handling callbacksThe following events are signalled in certain types of controls

Seite 55

CHAPTER 4: User-Interface Tools Control objects 148DrawState objectA helper object that describes an input state at the time of the triggering onD

Seite 56 - Folder object

CHAPTER 4: User-Interface Tools Event handling 149Event handling Several helper classes provide low-level event-handling capabilities.X Event obje

Seite 57

CHAPTER 2: The ExtendScript Toolkit Configuring the Toolkit window 15Document windowsWhen you open scripts or text files, each file appears in its

Seite 58 - Folder class functions

CHAPTER 4: User-Interface Tools Event handling 150UIEvent object functionsinitUIEvent()eventObj.initUIEvent (eventName, bubble, isCancelable, view

Seite 59 - Folder object functions

CHAPTER 4: User-Interface Tools Event handling 151KeyboardEvent objectThis type of object is passed to your registered event handler when a keyboa

Seite 60

CHAPTER 4: User-Interface Tools Event handling 152KeyboardEvent object functionsIn addition to the functions defined for UIEvent base class, a key

Seite 61

CHAPTER 4: User-Interface Tools Event handling 153MouseEvent objectThis type of object is passed to your registered event handler when a mouse-inp

Seite 62 - User-Interface Tools

CHAPTER 4: User-Interface Tools Event handling 154MouseEvent object functionsIn addition to the functions defined for UIEvent base class, a mouse

Seite 63 - ScriptUI programming model

CHAPTER 4: User-Interface Tools Graphic customization objects 155Keyboard state objectThis JavaScript object reports the active state of the keybo

Seite 64 - Window layout

CHAPTER 4: User-Interface Tools Graphic customization objects 156ScriptUIGraphics class propertiesThese static properties provide color type const

Seite 65 - Adding elements to containers

CHAPTER 4: User-Interface Tools Graphic customization objects 157ScriptUIGraphics object functionsThese functions directly customize the appearanc

Seite 66 - Accessing child elements

CHAPTER 4: User-Interface Tools Graphic customization objects 158drawString()controlObj.graphics.drawString (text, pen, x, y, font)textThe text st

Seite 67 - Types of controls

CHAPTER 4: User-Interface Tools Graphic customization objects 159measureString()controlObj.graphics.measureString (text, font[, boundingWidth])tex

Seite 68 - User-interface controls

CHAPTER 2: The ExtendScript Toolkit Configuring the Toolkit window 16WorkspacesThe Toolkit saves the current layout when you exit, and restores it

Seite 69

CHAPTER 4: User-Interface Tools Graphic customization objects 160newPen() controlObj.graphics.newPen( type, color, lineWidth);type The pen type, o

Seite 70

CHAPTER 4: User-Interface Tools Graphic customization objects 161ScriptUIBrush objectA helper object that encapsulates the qualities of a brush us

Seite 71

CHAPTER 4: User-Interface Tools Graphic customization objects 162ScriptUIImage objectA helper object that encapsulates a set of images that can be

Seite 72 - Displaying images

CHAPTER 4: User-Interface Tools Graphic customization objects 163ScriptUIPen objectA helper object that encapsulates the qualities of a pen used t

Seite 73 - Creating multi-column lists

CHAPTER 4: User-Interface Tools Graphic customization objects 164A custom element's onDraw event handler function is not called when the mous

Seite 74 - Modal dialogs

CHAPTER 4: User-Interface Tools LayoutManager object 165}}function drawButton (drawingState) {...}LayoutManager objectControls the automatic layou

Seite 75 - Default and cancel elements

1665Interapplication Communication with ScriptsThe Adobe scripting environment provides an interapplication messaging framework, a way for to sen

Seite 76 - Size and location objects

CHAPTER 5: Interapplication Communication with Scripts Cross-DOM functions 167Identifying applicationsWhen calling external functions or exchangin

Seite 77 - Drawing objects

CHAPTER 5: Interapplication Communication with Scripts Cross-DOM functions 168of application-specific functions. Each application determines the e

Seite 78 - Resource specifications

CHAPTER 5: Interapplication Communication with Scripts Cross-DOM functions 169openAsNew()appspec.openAsNew([options]) optionsOptional. Application

Seite 79 - Using resource strings

CHAPTER 2: The ExtendScript Toolkit Selecting scripts 17Selecting scriptsYou can open multiple scripts (or text files, including programs in other

Seite 80

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 170Communicating through messages Adobe Bridge provides an a

Seite 81

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 171var bt = new BridgeTalk; // send this msg to the Adobe Br

Seite 82 - Simulating user events

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 172var targetApp = BridgeTalk.getSpecifier( "bridge-3.0

Seite 83

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 173To change the default behavior set the BridgeTalk.onRecei

Seite 84

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 174A response message can be:X The result of an error in pro

Seite 85

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 175bt.send(); Example: Handling any errorIn this example, th

Seite 86 - Automatic layout

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 176}}Example: Setting up a sender to receive multiple respon

Seite 87 - Automatic layout properties

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 177Passing simple typesWhen your message object’s onResult c

Seite 88 - Aligning children

CHAPTER 5: Interapplication Communication with Scripts Communicating through messages 178// now you can access the returned arrayfor (i=0; i< a

Seite 89

CHAPTER 5: Interapplication Communication with Scripts Messaging framework API reference 179Messaging framework API referenceThis application prog

Seite 90 - Alignment in two dimensions

CHAPTER 2: The ExtendScript Toolkit The Script Editor 18The favorite script locations that you define are also available to the Find and Replace d

Seite 91 - Spacing between children

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 180BridgeTalk class propertiesThe BridgeTalk class provides these static p

Seite 92 - Determining a preferred size

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 181BridgeTalk class functionsThe BridgeTalk class provides these static me

Seite 93

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 182getSpecifier()BridgeTalk.getSpecifier (appName,[version],[locale])appNa

Seite 94 - Creating dynamic content

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 183getStatus()BridgeTalk.getStatus (targetSpec)targetSpecOptional, a speci

Seite 95 - Custom layout-manager example

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk class 184XIf neither version nor locale is supplied, returns base specifiers wit

Seite 96

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk message object 185BridgeTalk message objectThe message object defines the basic

Seite 97

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk message object 186BridgeTalk message object propertiesbodyString The data paylo

Seite 98 - Managing control titles

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk message object 187BridgeTalk message object callbacksNOTE: The message callbacks

Seite 99

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk message object 188onResultFunction A callback function that the target applicati

Seite 100

CHAPTER 5: Interapplication Communication with Scripts BridgeTalk message object 189BridgeTalk message object functionssend()bridgeTalkObj.send ([

Seite 101

CHAPTER 2: The ExtendScript Toolkit The Script Editor 19XA full-featured text search tool that can search in multiple files; see “Searching in tex

Seite 102 - Title truncation

CHAPTER 5: Interapplication Communication with Scripts Messaging error codes 190Messaging error codesThe interapplication messaging protocol defin

Seite 103

CHAPTER 5: Interapplication Communication with Scripts Application and namespace specifiers 191Application and namespace specifiersAll forms of in

Seite 104

CHAPTER 5: Interapplication Communication with Scripts Application and namespace specifiers 192The following are examples of legal specifiers:phot

Seite 105 - ScriptUI class

CHAPTER 5: Interapplication Communication with Scripts Application and namespace specifiers 193Namespace specifiersWhen calling cross-DOM and expo

Seite 106

1946External Communication ToolsExtendScript offers tools for communicating with other computers or the Internet using standard protocols.X The S

Seite 107 - ScriptUI class functions

CHAPTER 6: External Communication Tools Socket object 195incoming connections and then return immediately. If there is a connection request, the c

Seite 108 - Common properties

CHAPTER 6: External Communication Tools Socket object 196 // poll for a new connection var connection = tcp.poll(); if (connection

Seite 109

CHAPTER 6: External Communication Tools Socket object reference 197Socket object referenceThis section provides details of the object’s properties

Seite 110 - Window class

CHAPTER 6: External Communication Tools Socket object reference 198listen()socketObj.listen (port [, encoding]);portNumber. The TCP/IP port number

Seite 111 - Window class functions

CHAPTER 6: External Communication Tools Socket object reference 199readln()socketObj.readln ();Reads one line of text up to the next line feed. Li

Seite 112 - Window object

© 2010 Adobe Systems Incorporated. All rights reserved. Adobe® Creative Suite® 5 JavaScript Tools Guide for Windows® and Macintosh®.NOTICE: All inform

Seite 113 - Window object properties

CHAPTER 2: The ExtendScript Toolkit The Script Editor 20BookmarksThe Edit > Bookmarks menu allows you to set and clear navigation points in you

Seite 114

2007Integrating External LibrariesYou can extend the JavaScript DOM for an application by writing a C or C++ shared library, compiling it for the

Seite 115 - Container properties

CHAPTER 7: Integrating External Libraries ExternalObject object 201automatically defined, and you can access the properties and methods through an

Seite 116

CHAPTER 7: Integrating External Libraries ExternalObject object 202ExternalObject class propertiesThe ExternalObject class provides these static p

Seite 117

CHAPTER 7: Integrating External Libraries Defining entry points for direct access 203Defining entry points for direct accessA library to be loaded

Seite 118 - Window object functions

CHAPTER 7: Integrating External Libraries Defining entry points for direct access 204X string — Must be UTF-8 encoded.The library must define an e

Seite 119

CHAPTER 7: Integrating External Libraries Defining entry points for direct access 205For example, suppose your library defines these two entry poi

Seite 120

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 206Defining entry points for indirect accessThe C-client objec

Seite 121

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 207SoServerInterfaceSoServerInterface is a structure of functi

Seite 122

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 208addClass()ESerror_t addClass (SoHServer hServer, char* name

Seite 123 - Control objects

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 209addProperties()ESerror_t addProperties (SoHObject hObject,

Seite 124

CHAPTER 2: The ExtendScript Toolkit The Script Editor 21Mouse navigation and selectionYou can use the mouse or special keyboard shortcuts to move

Seite 125 - NTER or the control

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 210SoObjectInterfaceWhen you add a JavaScript class with SoSer

Seite 126

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 211All SoObjectInterface members must be valid function pointe

Seite 127

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 212call()ESerror_t call (SoHObject hObject, SoCClientName* nam

Seite 128

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 213Support structuresThese support structures are passed to fu

Seite 129

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 214TaggedDataThe TaggedData structure is used to communicate d

Seite 130

CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 215typeThe data type tag. One of:X kTypeUndefined: a null valu

Seite 131

2168ExtendScript Tools and FeaturesIn addition to the specific functional modules and development tools, ExtendScript provides these tools and fe

Seite 132

CHAPTER 8: ExtendScript Tools and Features Dollar ($) object 217engineNameString The name of the current JavaScript engine, if set. Read only.erro

Seite 133

CHAPTER 8: ExtendScript Tools and Features Dollar ($) object 218Dollar ($) object functionslocaleString Gets or sets the current locale. The strin

Seite 134

CHAPTER 8: ExtendScript Tools and Features Dollar ($) object 219colorPicker()$.colorPicker (name)Invokes the platform-specific color selection dia

Seite 135 - Control object properties

CHAPTER 2: The ExtendScript Toolkit The Script Editor 22The Script Editor supports extended keyboard input via IME (Windows) or TMS (Mac OS). This

Seite 136

CHAPTER 8: ExtendScript Tools and Features Dollar ($) object 220write()$.write (text[, text...]...)Writes the specified text to the JavaScript Con

Seite 137

CHAPTER 8: ExtendScript Tools and Features ExtendScript reflection interface 221ExtendScript reflection interfaceExtendScript provides a reflectio

Seite 138

CHAPTER 8: ExtendScript Tools and Features ExtendScript reflection interface 222ExamplesThis code determines the class name of an object:obj = new

Seite 139

CHAPTER 8: ExtendScript Tools and Features ExtendScript reflection interface 223ReflectionInfo object propertiesargumentsArray of ReflectionInfoFo

Seite 140

CHAPTER 8: ExtendScript Tools and Features Localizing ExtendScript strings 224Localizing ExtendScript stringsLocalization is the process of transl

Seite 141

CHAPTER 8: ExtendScript Tools and Features Localizing ExtendScript strings 225To use automatic translation of localization objects, you must enabl

Seite 142 - Control object functions

CHAPTER 8: ExtendScript Tools and Features Localizing ExtendScript strings 2265. If not found, it removes the region identifier (for example, en)

Seite 143

CHAPTER 8: ExtendScript Tools and Features User notification dialogs 227For example:today = {en: "Today is %1/%2",de: "Heute ist de

Seite 144 - List control object functions

CHAPTER 8: ExtendScript Tools and Features User notification dialogs 228This figure shows alert dialogs with error icons.Global confirm functionDi

Seite 145 - FlashPlayer control functions

CHAPTER 8: ExtendScript Tools and Features User notification dialogs 229Global prompt functionDisplays a platform-standard dialog containing a sho

Seite 146

CHAPTER 2: The ExtendScript Toolkit The Script Editor 23You can use the flyout menu at the upper right corner of the document window to choose an

Seite 147 - NTER. The exact behavior

CHAPTER 8: ExtendScript Tools and Features Specifying measurement values 230Specifying measurement valuesExtendScript provides the UnitValue objec

Seite 148 - DrawState object

CHAPTER 8: ExtendScript Tools and Features Specifying measurement values 231For example, all the following formats are equivalent:myVal = new Unit

Seite 149 - Event handling

CHAPTER 8: ExtendScript Tools and Features Specifying measurement values 232XPercentage values are relative to a total measurement. For example, 1

Seite 150 - UIEvent object functions

CHAPTER 8: ExtendScript Tools and Features Preprocessor directives 233XBinary operators (+, -, *, /, %)If one operand is unitValue object and the

Seite 151 - KeyboardEvent object

CHAPTER 8: ExtendScript Tools and Features Preprocessor directives 234#include fileIncludes a JavaScript source file from another location. Insert

Seite 152

CHAPTER 8: ExtendScript Tools and Features Operator overloading 235Operator overloadingExtendScript allows you to extend or override the behavior

Seite 153 - MouseEvent object

CHAPTER 8: ExtendScript Tools and Features Operator overloading 236You can override the following operators:X The operators > and >= are imp

Seite 154 - MouseEvent object functions

2379Integrating XML into JavaScriptExtendScript defines the XML object, which allows you to process XML with your JavaScript scripts. This featur

Seite 155 - Graphic customization objects

CHAPTER 9: Integrating XML into JavaScript The XML Object 238If an element is empty in the XML, the corresponding property exists and contains an

Seite 156

CHAPTER 9: Integrating XML into JavaScript The XML Object 239Accessing XML attributesAttribute are properties of their parent elements. In ExtendS

Seite 157

CHAPTER 2: The ExtendScript Toolkit The Script Editor 24/*** @@@BUILDINFO@@@ SnpCreateDialog.jsx !Version! Tue Dec 05 2006 08:03:38 GMT-0800*/You

Seite 158

CHAPTER 9: Integrating XML into JavaScript The XML Object 240Modifying XML elements and attributesYou can change an element by assigning a value t

Seite 159

CHAPTER 9: Integrating XML into JavaScript The XML Object 241The result is this XML:<book category="LITERATURE, FANTASY"><title

Seite 160

CHAPTER 9: Integrating XML into JavaScript The XML Object 242XThe result of XML.children() contains 3 elements, the direct child tags <one>

Seite 161 - ScriptUIFont object

CHAPTER 9: Integrating XML into JavaScript The XML Object 243<book category="COOKING"><title lang="en">The Boston

Seite 162 - ScriptUIPath object

CHAPTER 9: Integrating XML into JavaScript The XML Object 244XIf you have assigned an element to a namespace, and have not made it the default, yo

Seite 163 - Custom element class

CHAPTER 9: Integrating XML into JavaScript The XML Object 245All XML statements and functions that collect XML return the result as an XMLList, wh

Seite 164

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 246XML Object ReferenceThis section provides reference details for the properties

Seite 165 - LayoutManager object

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 247XML class functionsThese static functions are available through the XML class,

Seite 166 - Communications overview

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 248XML object functionsaddNamespace()xmlObj.addNamespace (ns);nsA Namespace object

Seite 167 - Cross-DOM functions

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 249contains()xmlObj.contains (element);elementAn XML object.Reports whether an ele

Seite 168 - Cross-DOM API reference

CHAPTER 2: The ExtendScript Toolkit The Script Editor 25XAll scripts made public by the current target applicationX Folders that you have defined

Seite 169

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 250inScopeNamespaces()xmlObj.inScopeNamespaces ();Retrieves the current list of va

Seite 170 - Sending messages

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 251namespace()xmlObj.namespace ();Retrieves the namespace URI of this element.Retu

Seite 171

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 252processingInstructions()xmlObj.processingInstructions ([name]);nameA String, th

Seite 172 - Handling unsolicited messages

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 253setNamespace()xmlObj.setNamespace(ns);nsA Namespace object for a namespace that

Seite 173

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 254Global functionsThese functions are available in the JavaScript global namespac

Seite 174

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 255QName objectThis object encapsulates a fully qualified XML name, the combinatio

Seite 175

CHAPTER 9: Integrating XML into JavaScript XML Object Reference 256Namespace object constructorsThe Namespace constructor takes several forms:new

Seite 176

25710Scripting Access to XMP MetadataXMPScript, the XMP ExtendScript API, offers JavaScript access to the Adobe XMP Core and XMP Files libraries.

Seite 177 - Passing complex types

CHAPTER 10: Scripting Access to XMP Metadata Accessing the XMP scripting API 258Using the XMP scripting APIThe XMPMeta object is the primary means

Seite 178

CHAPTER 10: Scripting Access to XMP Metadata Accessing the XMP scripting API 259// retrieve propertyprop = xmp.getProperty(XMPConst.NS_XMP, "

Seite 179 - BridgeTalk class

CHAPTER 2: The ExtendScript Toolkit The Script Editor 26In a replace operation, you can use the captured regions of a match in the replacement exp

Seite 180 - BridgeTalk class properties

CHAPTER 10: Scripting Access to XMP Metadata Accessing the XMP scripting API 260Integrating XMPScript with Adobe Bridge This script adds a command

Seite 181 - BridgeTalk class functions

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 261XMPScript object referenceThe classes defined for the XMP JavaScript AP

Seite 182

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 262XMPAliasInfo objectThis object is returned by XMPMeta.resolveAlias(). T

Seite 183

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 263Type namespace string constants Constant values for the field-type name

Seite 184

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 264File format numeric constants Constant values for supported file types,

Seite 185 - BridgeTalk message object

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 265XMPDateTime objectThis class represents a date and time. Times include

Seite 186

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 266XMPDateTime object propertiesAll properties are read-write, and allow y

Seite 187

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 267XMPFile objectThis class corresponds to the Adobe XMP Toolkit's Fi

Seite 188

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 268XMPFile object constructorsnew XMPFile( filePath, format, openFlags)XMP

Seite 189

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 269XMPFile class functionsThis function is available as a static method of

Seite 190 - Messaging error codes

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 27Debugging in the ToolkitYou can debug the code in the currently active document win

Seite 191 - Application specifiers

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 270closeFile()XMPFileObj.closeFile(closeFlags)closeFlagsA close-option con

Seite 192

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 271XMPFileInfo objectThis object is returned by XMPFile.getFileInfo(). The

Seite 193 - Namespace specifiers

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 272XMPIterator objectCreated by a call to XMPMeta.iterator(). Walks recurs

Seite 194 - External Communication Tools

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 273There is one static property on the class that provides XMP version inf

Seite 195 - Chat server sample

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 274deleteNamespace()XMPMeta.deleteNamespace (namespaceURI)namespaceURIThe

Seite 196

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 275registerAlias()XMPMeta.registerAlias (aliasNS, aliasProp, actualNS, act

Seite 197 - Socket object reference

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 276XMPMeta object functionsresolveAlias()XMPMeta.resolveAlias (aliasNS, al

Seite 198

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 277deleteArrayItem()XMPMetaObj.deleteArrayItem(schemaNS, arrayName,itemInd

Seite 199

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 278doesArrayItemExist()XMPMetaObj.doesArrayItemExist(schemaNS, arrayName,

Seite 200

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 279dumpObject()XMPMetaObj.dumpObject ( )Creates and returns a string conta

Seite 201 - ExternalObject object

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 28executing code, is halted at a breakpoint, or, having executed all scripts, is wait

Seite 202 - ExternalObject class function

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 280getProperty()XMPMetaObj.getProperty(schemaNS, propName[, valueType])sch

Seite 203 - Additional functions

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 281insertArrayItem()XMPMetaObj.insertArrayItem(schemaNS, arrayName, itemIn

Seite 204 - Library initialization

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 282serialize()XMPMetaObj.serialize([options, padding, indent, newline, bas

Seite 205 - Library termination

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 283serializeToArray()XMPMetaObj.serializeToArray([options, padding, indent

Seite 206 - Shared-library function API

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 284setArrayItem()XMPMetaObj.setArrayItem(schemaNS, arrayName, itemIndex, i

Seite 207 - SoServerInterface

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 285setStructField()XMPMetaObj.setStructField(schemaNS, structName, fieldNS

Seite 208

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 286setProperty()XMPMetaObj.setProperty(schemaNS, propName, propValue[, set

Seite 209

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 287XMPPacketInfo objectThis object is returned by XMPFile.getPacketInfo().

Seite 210 - SoObjectInterface

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 288XMPUtils objectThis class provides additional utility functions for the

Seite 211

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 289catenateArrayItems()XMPUtils.catenateArrayItems(xmpObj, schemaNS, array

Seite 212

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 29The console is a JavaScript listener, that expects input text to be JavaScript code

Seite 213 - Support structures

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 290fieldNSThe field namespace URI string.fieldNameThe field name. Must be

Seite 214 - TaggedData

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 291qualNameThe qualifier name. Must be a simple XML name.Creates and retur

Seite 215

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 292removeProperties()XMPUtils.removeProperties(xmpObj, schemaNS, propName,

Seite 216 - Dollar ($) object

CHAPTER 10: Scripting Access to XMP Metadata XMPScript object reference 293separateArrayItems()XMPUtils.separateArrayItems(xmpObj, schemaNS, array

Seite 217

29411Porting GuideThis chapter briefly describes changes between this release and the previous release of ExtendScript, to aid you in porting app

Seite 218 - Dollar ($) object functions

295IndexAabsolute paths, 40ActionScript, calling foreign functions, 85active engine status, 27addition operator, 235alertsabout, 74creating, 110d

Seite 219

Index 296interapplication, See interapplication communicationoverview, 166TCP connections, 194comparison operators, 233complex data types, passin

Seite 220 - Function Return type

Index 297Eediting features, 18EditText objects, 69creating, 125encodingbinary, 43common names, 46specific platform features, 45supported names, 4

Seite 221 - Reflection object

Index 298object references, 39, 47, 56Flashcommunicating with, 85control functions, 145examples, 86FlashPlayer objects, 72floating palettes, 63Fo

Seite 222 - ReflectionInfo object

Index 299LlayoutAutoLayoutManager algorithm, 97automatic, 86, 165custom example, 95default behavior, 87preferred size of elements, 92properties,

Seite 223

3Contents1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 224

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 30Visual indication of execution statesWhen the execution of a script halts because t

Seite 225 - Locale names

Index 300MouseEvent object, 153multi-column lists, 73NNamespace object, 255namespace specifiersabout, 193accessing cross-DOM functions, 167identi

Seite 226 - Global localize function

Index 301platform-independent paths, 39Point object, 77portability of file references, 42porting guide, 294preferenceskeyboard shortcuts, 21savin

Seite 227 - User notification dialogs

Index 302shortcut keys for user-interface elements, 81shortcutsbookmarks, 20configuring, 16dismissing dialogs, 75keyboard list, 21mouse and keybo

Seite 228 - Global confirm function

Index 303fonts, 161graphic customization objects, 155grouping, 64, 67methods, 142pens, 163placing, 76properties, 135registering listeners, 82remo

Seite 229 - Global prompt function

Index 304XMPMeta object, 272using, 258XMPProperty object, 287XMPScript, 257API reference, 261constant values, 262integrating with Adobe Bridge, 2

Seite 230 - Specifying measurement values

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 31Setting breakpointsWhen debugging a script, it is often helpful to make it stop at

Seite 231 - UnitValue object functions

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 32condition statement. You can also specify a hit count, which allows you to skip the

Seite 232 - Computing with unit values

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 33Evaluation in help tipsIf you let your mouse pointer rest over a variable or functi

Seite 233 - Preprocessor directives

CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 34You can inspect the contents of an object by clicking its icon. The list expands to

Seite 234

CHAPTER 2: The ExtendScript Toolkit Code profiling for optimization 35Switching between the functions in the call hierarchy allows you to trace ho

Seite 235 - Operator overloading

CHAPTER 2: The ExtendScript Toolkit Inspecting object models 36When execution halts (at termination, at a breakpoint, or due to a runtime error),

Seite 236

CHAPTER 2: The ExtendScript Toolkit Inspecting object models 37The Object Model Viewer (OMV) comes up as a separate, floating window. The OMV allo

Seite 237 - The XML Object

CHAPTER 2: The ExtendScript Toolkit Inspecting object models 38XEach Adobe application defines a dictionary for that application’s Document Object

Seite 238 - Accessing XML elements

393File System AccessAdobe ExtendScript defines classes that simplify cross-platform file-system access. These classes are available to all appli

Seite 239 - Viewing XML objects

4File error handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 240

CHAPTER 3: File System Access Using File and Folder objects 40Absolute and relative path namesAn absolute path name in URI notation describes the

Seite 241 - Retrieving contained elements

CHAPTER 3: File System Access Using File and Folder objects 41The home directoryA path name can start with a tilde (~) to indicate the user’s home

Seite 242

CHAPTER 3: File System Access Using File and Folder objects 42a folder C:\C on Windows. A path starting with /c always addresses the drive C:, so

Seite 243 - Setting a default namespace

CHAPTER 3: File System Access Using File and Folder objects 43As an example, suppose you use the UNIX machine myServer for data storage. If you se

Seite 244 - XML lists

CHAPTER 3: File System Access File access error messages 44File access error messagesThe following messages can be returned in the error property.

Seite 245

CHAPTER 3: File System Access File- and Folder-supported encoding names 45File- and Folder-supported encoding namesThe following list of names is

Seite 246 - XML Object Reference

CHAPTER 3: File System Access File- and Folder-supported encoding names 46Common encoding namesThe following encoding names are implemented both i

Seite 247 - XML object properties

CHAPTER 3: File System Access File object 47Additional Mac OS encoding namesThese names are alias names for encodings that Mac OS might know.TIS-6

Seite 248 - XML object functions

CHAPTER 3: File System Access File object 48File class propertiesThis property is available as a static property of the File class. It is not nece

Seite 249

CHAPTER 3: File System Access File object 49File object propertiesThese properties are available for File objects.openDialog()File.openDialog ([pr

Seite 250

5The AutoLayoutManager algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97Automatic

Seite 251

CHAPTER 3: File System Access File object 50encodingString Gets or sets the encoding for subsequent read/write operations. One of the encoding con

Seite 252

CHAPTER 3: File System Access File object 51File object functionsThese functions are available for File objects.relativeURIString The path name fo

Seite 253

CHAPTER 3: File System Access File object 52execute()fileObj.execute ()Opens this file using the appropriate application, as if it had been double

Seite 254 - Global functions

CHAPTER 3: File System Access File object 53openDlg()fileObj.OpenDlg ([prompt][,filter][,multiSelect])promptOptional. A string containing the prom

Seite 255 - Namespace object

CHAPTER 3: File System Access File object 54remove()fileObj.remove ()Deletes the file associated with this object from disk, immediately, without

Seite 256 - Namespace object properties

CHAPTER 3: File System Access File object 55seek()fileObj.seek (pos[, mode])posThe new current position in the file as an offset in bytes from the

Seite 257

CHAPTER 3: File System Access Folder object 56Folder objectRepresents a file-system folder or directory in a platform-independent manner. All prop

Seite 258 - Using the XMP scripting API

CHAPTER 3: File System Access Folder object 57desktopFolder A Folder object for the folder that contains the user’s desktop. Read only.X In Window

Seite 259

CHAPTER 3: File System Access Folder object 58Folder class functionsThese functions are available as a static methods of the Folder class. It is n

Seite 260

CHAPTER 3: File System Access Folder object 59Folder object propertiesThese properties are available for Folder objects.Folder object functionsThe

Seite 261 - XMPScript object reference

6AutoLayoutManager object functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1655 Interappli

Seite 262 - XMPConst object

CHAPTER 3: File System Access Folder object 60create()folderObj.create ()Creates a folder at the location given by this object’s path property. Re

Seite 263

CHAPTER 3: File System Access Folder object 61rename()folderObj.rename (newName)newNameThe new folder name, with no path.Renames the associated fo

Seite 264

624User-Interface ToolsAdobe provides the ScriptUI component, which works with the ExtendScript JavaScript interpreter to provide JavaScript scri

Seite 265 - XMPDateTime object

CHAPTER 4: User-Interface Tools ScriptUI programming model 63ScriptUI programming modelScriptUI defines Window objects that represent platform-spe

Seite 266 - XMPDateTime object functions

CHAPTER 4: User-Interface Tools ScriptUI programming model 64Container elements All Windows are containers—that is, they contain other elements wi

Seite 267 - XMPFile object

CHAPTER 4: User-Interface Tools ScriptUI programming model 65The following examples show equivalent ways of changing an existing window’s width an

Seite 268 - XMPFile class properties

CHAPTER 4: User-Interface Tools ScriptUI programming model 66The order of optional parameters must be maintained. Use the value undefined for a pa

Seite 269 - XMPFile object functions

CHAPTER 4: User-Interface Tools Types of controls 67If you use a creation property to assign a name to a newly created element, you can access tha

Seite 270

CHAPTER 4: User-Interface Tools Types of controls 68User-interface controlsThese are types of Control objects that are contained in windows, panel

Seite 271 - XMPFileInfo object

CHAPTER 4: User-Interface Tools Types of controls 69ImageDisplays an iconic image.X The image property identifies the icon image; see “Displaying

Seite 272 - XMPMeta object

7Defining entry points for indirect access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 273 - XMPMeta class functions

CHAPTER 4: User-Interface Tools Types of controls 70CheckboxAllows the user to set a boolean state.X Set the text property to assign an identifyin

Seite 274

CHAPTER 4: User-Interface Tools Types of controls 71ScrollbarLike a slider, the scrollbar is a bar with a draggable indicator. It also has “steppe

Seite 275 - direct mapping. It can be

CHAPTER 4: User-Interface Tools Types of controls 72Displaying imagesYou can display icon images in Image or IconButton controls, or display image

Seite 276 - XMPMeta object functions

CHAPTER 4: User-Interface Tools Types of controls 73If a script does not explicitly set the preferredSize or size property of an element that disp

Seite 277

CHAPTER 4: User-Interface Tools Types of controls 74Notice that the columns have headers, and the label in the second column of the second row has

Seite 278

CHAPTER 4: User-Interface Tools Types of controls 75closed. If the function returns true, the window is closed, but if it returns false, the close

Seite 279

CHAPTER 4: User-Interface Tools Size and location objects 76a button whose name or text value is "cancel" (disregarding case). Because i

Seite 280

CHAPTER 4: User-Interface Tools Drawing objects 77Drawing objectsScriptUI allows you to draw directly on controls to customize their appearance. Y

Seite 281

CHAPTER 4: User-Interface Tools Resource specifications 78For details of these objects, see “Graphic customization objects” on page 155.The Script

Seite 282

CHAPTER 4: User-Interface Tools Resource specifications 79testBtn: Button { text: ’Test’ } The following resource string specifies a panel that co

Seite 283

8XMPScript object reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 284 - The new string value

CHAPTER 4: User-Interface Tools Defining behavior with event callbacks and listeners 80The Build button event handler builds a resource string fro

Seite 285

CHAPTER 4: User-Interface Tools Defining behavior with event callbacks and listeners 81XButton, RadioButton, and Checkbox controls generate events

Seite 286

CHAPTER 4: User-Interface Tools Defining behavior with event callbacks and listeners 82Simulating user eventsYou can simulate user actions by send

Seite 287 - XMPProperty object

CHAPTER 4: User-Interface Tools Defining behavior with event callbacks and listeners 83myButton.addEventListener( ’click’, myFunction );XA locally

Seite 288 - XMPUtils object

CHAPTER 4: User-Interface Tools Defining behavior with event callbacks and listeners 84The ScriptUI implementation of W3C mouse events follows the

Seite 289

CHAPTER 4: User-Interface Tools Communicating with the Flash application 85the bubbling phase. For example, the following click handler, registere

Seite 290

CHAPTER 4: User-Interface Tools Automatic layout 86You do not need to register the ExtendScript function in the ActionScript environment. Your Act

Seite 291

CHAPTER 4: User-Interface Tools Automatic layout 87The script programmer has considerable control over the automatic layout process. Each containe

Seite 292

CHAPTER 4: User-Interface Tools Automatic layout 88et: EditText { characters:4, justify:’right’ } \}");w.show(); Each example shows the effec

Seite 293

CHAPTER 4: User-Interface Tools Automatic layout 89If you set the alignment value using a constant and then query the property, it returns an inde

Seite 294 - Porting Guide

91IntroductionJavaScript is a platform-independent scripting language that you can use to control many features and automate many tasks in Adobe®

Seite 295 - 295

CHAPTER 4: User-Interface Tools Automatic layout 90You can override the container’s child alignment, as specified by alignChildren, by setting the

Seite 296 - Index 296

CHAPTER 4: User-Interface Tools Automatic layout 91Setting marginsThe margins property of a container specifies the number of pixels between the e

Seite 297 - Index 297

CHAPTER 4: User-Interface Tools Automatic layout 92Determining a preferred sizeEach element has a preferredSize property, which is initially defin

Seite 298 - Index 298

CHAPTER 4: User-Interface Tools Automatic layout 93info: Panel { orientation: ’column’, \text: ’Personal Info’, \name: Group { orientation: ’row’,

Seite 299 - Index 299

CHAPTER 4: User-Interface Tools Automatic layout 94} \}, \workInfo: Panel { orientation: ’column’, \text: ’Work Info’, \name: Group { orientation:

Seite 300 - Index 300

CHAPTER 4: User-Interface Tools Automatic layout 95res ="dialog { \whichInfo: DropDownList { alignment:’left’ }, \allGroups: Panel { orientat

Seite 301 - Index 301

CHAPTER 4: User-Interface Tools Automatic layout 96/* Define a custom layout manager that arranges the children** of ’container’ in a stair-step f

Seite 302 - Index 302

CHAPTER 4: User-Interface Tools Automatic layout 97// Create window using resource specwin = new Window (res);// Create list items, select first o

Seite 303 - Index 303

CHAPTER 4: User-Interface Tools Managing control titles 985. Determine the column, row, or stack dimensions, based on the dimensions of the childr

Seite 304 - Index 304

CHAPTER 4: User-Interface Tools Managing control titles 99XThe title property is a String that defines a text label for a UI element. The title ca

Kommentare zu diesen Handbüchern

Keine Kommentare