|
ADOBE BRIDGE TUTORIAL - JAVASCRIPT REFERENCE - TUTORIAL GUIDE HELP FREE
FREE DOWNLOAD THIS TUTORIAL
This tutorial in pdf format so you can save it to your computer or print.
Sponsored Link
Here you leave the free download of the tutorial
Nota: The tutorial you are about to download is compressed format . rar, if you do not have a decompressor rar files you can download free 7-zip and to display the Foxit PDF Reader. |
CONTENTS ADOBE BRIDGE TUTORIAL - JAVASCRIPT REFERENCE
Adobe Creative Suite 2 Bridge JavaScript Reference Welcome About This Book Who should read this book What is in this book Document conventions Typographical conventions JavaScript conventions Where to go for more information 1 Scripting Bridge Scripting Overview Executing Scripts Communicating with Other Applications The Bridge Document Object Model The application and documents Thumbnails in documents Thumbnails as node references Using and accessing thumbnails User interface objects Navigation bars Dialogs Menus Events Application preferences The Bridge DOM and the Bridge Browser Window adobe bridge javascript tutorial bridge javascript adobe javascript adobe javascripts javascripts for adobe javascripts in adobe adobe creative suite 2 adobe creative suite tutorial 2 Event Handling and Script-Defined Browse Schemes Event Handling in Bridge Defining event handlers Registering event handlers Event handling examples User-interface events Script-Defined Browse Schemes Defining and registering a browse scheme 3 Creating a User Interface User Interface Options for Scripts Navigation Bars Dialogs Boxes Content Pane ScriptUI User Interfaces Displaying ScriptUI Dialogs Displaying ScriptUI elements in a navigation bar Displaying HTML in Bridge Defining callbacks for HTML scripts Executing script functions defined on HTML UI pages Displaying HTML in Bridge Dialogs Communicating with Bridge from dialog JavaScript Using callbacks in an HTML dialog Calling functions defined in an HTML dialog Displaying HTML in a Navigation Bar Using callbacks from an HTML navigation bar Calling functions defined in an HTML navigation bar Displaying HTML in the Content Pane Callback example: Requesting specific metadata value for a file Passing Complex Values in Remote Calls Passing an object from Bridge to HTML/JavaScript Scheduling tasks from callbacks Scheduling a remote function execution 4 Using File and Folder Objects Overview Specifying Paths Absolute and relative path names Character interpretation in paths The home directory Volume and drive names Mac OS volumes Windows drives Aliases Portability issues Unicode I/O File Error Handling 5 Using ScriptUI Overview ScriptUI Programming Model Creating a window Container elements Window layout Adding elements to containers Creation properties Accessing child elements Removing elements Types of controls Containers Panel Group User interface controls StaticText EditText Button IconButton Image Checkbox RadioButton Progressbar Slider Scrollbar ListBox DropDownList ListItem Displaying icons Prompts and alerts Modal dialogs Creating and using modal dialogs Dismissing a modal dialog Default and cancel elements Resource Specifications Defining Behavior for Controls with Event Callbacks Defining event handler functions Simulating user events Automatic Layout Default layout behavior Automatic layout properties Container orientation Aligning children Setting margins Spacing between children Determining a preferred size Creating more complex arrangements Creating dynamic content Custom layout manager example The AutoLayoutManager algorithm Automatic layout restrictions Example scripts Alert box builder Resource specification example Localization in ScriptUI Objects Variable values in localized strings Enabling automatic localization 6 Bridge DOM Object Reference App Object App object properties displayDialogs document documents eventHandlers favorites language locale name preferences version App object functions beep browseTo buildFolderCache cancelTask hide preflightFiles purgeAllCaches purgeFolderCache quit registerBrowseScheme scheduleTask system Dialog Object Dialog object constructor Dialog object properties active closing height modal title width Dialog object functions center close execJS open place print Document Object Document object properties allowDrags contentPaneMode context id jsFuncs maximized minimized navbars noItems owner previewLooping selections showThumbnailName sorts status thumbnail thumbnailViewMode visible visibleThumbnails visitUrl Document object functions bringToFront close deselect deselectAll execJS maximize minimize refresh resetToDefaultWorkspace restore reveal select selectAll Event Object Event object properties appPath document favorites isContext location object type url where Event Object Types App events close destroy Document events complete create deselect destroy empty failed loaded loading open select stopped uploading Thumbnail events add deselect hover modify move open openWith preview remove select PreferencesDialog events cancel create destroy ok Favorites Object Favorites object properties length section Favorites object functions addChild clearAll insert remove Metadata Object Metadata object properties Label namespace xmpPropertyName Examples Metadata object functions applyMetadataTemplate NavBar Object NavBar object properties file height jsFuncs type visible NavBar object functions add execJS print Preferences Object Preferences object properties extraMetadata showName BackgroundColor FileSize HideEmptyFields Label1 Label2 Label3 Label4 Label5 Language MRUCount ShowLabels ShowName UseLocalCaches anyPropertyName Preferences object functions clear PreferencesDialog Object PreferencesDialog object functions addPanel close Thumbnail Object Thumbnail object constructor Node specifiers Multiple references to the same node Thumbnail object properties aliasType children container creationDate displayMode displayPath hidden lastModifiedDate location metadata mimeType name parent path spec synchronousMetadata type Thumbnail object functions copyTo moveTo open openWith refresh remove resolve 7 File and Folder Object Reference Overview File Object File object constructors File class properties fs File class functions decode encode isEncodingAvailable openDialog saveDialog File object properties absoluteURI alias created creator encoding eof error exists fsName hidden length lineFeed modified name parent path readonly relativeURI type File object functions close copy createAlias execute getRelativeURI open openDlg read readch readln remove rename resolve saveDlg seek tell write writeln Folder Object Folder object constructors Folder class properties appData commonFiles current fs myDocuments startup system temp trash userData Folder class functions decode encode isEncodingAvailable selectDialog Folder object properties absoluteURI alias created error exists fsName modified name parent path relativeURI Folder object functions create execute getFiles getRelativeURI remove rename resolve selectDlg File and Folder Error Messages File and Folder Supported Encoding Names Additional encodings 8 ScriptUI Object Reference Overview Window Class Window class properties coreVersion version Window class functions alert confirm find getResourceText prompt Window Object Window object constructor Window object properties defaultElement cancelElement frameBounds frameLocation frameSize Container properties alignChildren children layout margins orientation spacing Window object functions add center close hide notify remove show Window event-handling callbacks onClose onMove onMoving onResize onResizing onShow Control Objects Control object constructors add Control types and creation parameters button checkbox dropdownlist edittext group iconbutton image item listbox panel progressbar radiobutton scrollbar slider statictext Control object properties active alignment bounds enabled helpTip icon index items itemSize jumpdelta justify location maxvalue minvalue parent preferredSize properties selected selection size stepdelta text textselection type value value visible Control object functions add find hide notify remove removeAll show toString valueOf Control event-handling callbacks onClick onChange onChanging Size and Location Objects Bounds Dimension Margins Point LayoutManager Object AutoLayoutManager object constructor AutoLayoutManager object properties AutoLayoutManager object functions layout MenuElement Object MenuElement class functions create find remove Creating new menu elements MenuElement object properties altDown checked cmdDown ctrlDown enabled id onDisplay optionDown onSelect shiftDown text type Bridge menu and command identifiers Bridge menu identifiers Bridge submenu and command identifiers 9 Interapplication Communication with Scripts Cross-DOM Functions Cross-DOM API Reference executeScript open openAsNew print quit reveal Application-Specific Exported Functions Communicating Through Interapplication Messages Sending messages Receiving messages Handling unsolicited messages Handling responses from the message target Passing values between applications Passing simple types Passing complex types Interapplication Message API Reference BridgeTalk Class BridgeTalk class properties appLocale appName appVersion onReceived BridgeTalk class functions bringToFront getSpecifier getTargets isRunning launch pump BridgeTalk Message Object BridgeTalk message object constructor BridgeTalk message object properties body headers sender target timeout type BridgeTalk message object callbacks onError onReceived onResult BridgeTalk message object functions send sendResult Messaging Error Codes Sample Workflow Automation Scripts 10 ExtendScript Tools and Features The ExtendScript Toolkit Configuring the Toolkit window Selecting a debugging target Selecting scripts Tracking data The JavaScript console The call stack The Script Editor Mouse navigation and selection Keyboard navigation and selection Syntax checking Debugging in the Toolkit Evaluation in help tips Controlling code execution Visual indication of execution states Setting breakpoints Profiling Dollar ($) Object Dollar ($) object properties build buildDate error flags global level locale localize memCache objects os screens strict version Dollar ($) object functions about bp clearbp gc getenv list setbp sleep summary write writeln Object statistics ExtendScript Reflection Interface Reflection Object Reflection object properties description help methods name properties Reflection object functions find ReflectionInfo Object ReflectionInfo object properties arguments dataType defaultValue description help isCollection max min name type Localizing ExtendScript Strings Variable values in localized strings Enabling automatic localization Locale names Testing localization Global localize function localize User Notification Helper Functions Global alert function alert Global confirm function confirm Global prompt function prompt Specifying Measurement Values UnitValue Object UnitValue object constructor UnitValue object properties baseUnit type value UnitValue object functions as convert Converting pixel and percentage values Computing with unit values Modular Programming Support Preprocessor directives #engine name #include file #includepath path #script name #strict on #target name Importing and exporting between scripts Operator Overloading Application and Namespace Specifiers Application specifiers Namespace specifiers Script Locations and Checking Application Installation Index

|
|
| |
|