Tutorial Downloads .com

Home

JAVASCRIPT TOOLS GUIDE

JavaScript is a platform-independent scripting language that you can use to control many features and automate many tasks in Adobe applications. Scripting is easier to learn and use than many other kinds of programming, and provides a convenient way of automating repetitive tasks or extending applications to provide additional tools for other users.

Contents
1 Introduction.......................9
ExtendScript overview.......................9
Example code.......................9
Development and debugging tools.......................10
Cross-platform file-system access.......................10
User-interface development tools.......................10
Interapplication communication and messaging.......................10
External communication.......................11
External shared-library integration.......................11
Additional utilities and features.......................11
Scripting for specific applications.......................12
Feature support.......................12
Startup scripts.......................12
JavaScript variables.......................12
2 The ExtendScript Toolkit.......................13
Configuring the Toolkit window.......................13
Panel menus.......................14
Document windows.......................15
Workspaces.......................16
Selecting scripts.......................16
The Scripts panel and favorite script locations.......................17
The Script Editor.......................18
Navigation aids.......................18
Coding aids.......................21
Searching in text.......................24
Syntax marking.......................25
Debugging in the Toolkit.......................25
Selecting a debugging target.......................26
The JavaScript console.......................27
Controlling code execution.......................28
Visual indication of execution states.......................28
Setting breakpoints.......................29
Evaluation in help tips.......................31
Tracking data.......................31
The call stack.......................32
Code profiling for optimization.......................34
Inspecting object models.......................35
3 File System Access.......................38
Using File and Folder objects.......................38
Specifying paths.......................38
Unicode I/O.......................42
File error handling.......................42
File access error messages.......................43
File- and Folder-supported encoding names.......................44
Additional encodings.......................44
File object.......................46
File object constructors.......................46
File class properties.......................47
File class functions.......................47
File object properties.......................48
File object functions.......................50
Folder object.......................55
Folder object constructors.......................55
Folder class properties.......................55
Folder class functions.......................57
Folder object properties.......................58
Folder object functions.......................58
4 User-Interface Tools.......................61
Code examples for ScriptUI.......................61
ScriptUI programming model.......................62
Creating a window.......................62
Container elements.......................63
Window layout.......................63
Adding elements to containers.......................64
Removing elements.......................66
Types of controls.......................66
Containers.......................66
User-interface controls.......................67
Displaying images.......................70
Creating multi-column lists.......................71
Prompts and alerts.......................72
Modal dialogs.......................72
Size and location objects.......................74
Size and location object types.......................75
Drawing objects.......................75
Resource specifications.......................76
Using resource strings.......................77
Defining behavior with event callbacks and listeners.......................78
Defining event-handler callback functions.......................79
Simulating user events.......................79
Registering event listeners for windows or controls.......................80
How registered event-handlers are called.......................82
Communicating with the Flash application.......................83
Automatic layout.......................84
Default layout behavior.......................85
Automatic layout properties.......................85
Custom layout-manager example.......................93
The AutoLayoutManager algorithm.......................95
Automatic layout restrictions.......................95
Localization in ScriptUI objects.......................96
Variable values in localized strings.......................96
Enabling automatic localization.......................96
ScriptUI object reference.......................98
ScriptUI class.......................98
ScriptUI class properties.......................98
ScriptUI class functions.......................100
Environment object.......................101
Common properties.......................101
Window class.......................103
Window class properties.......................103
Window class functions.......................104
Window object.......................105
Window object constructor.......................105
Window object properties.......................106
Container properties.......................108
Window object functions.......................111
Window event-handling callbacks.......................115
Control objects.......................116
Control object constructors.......................116
Control types and creation parameters.......................117
Control object properties.......................128
Control object functions.......................136
Control event-handling callbacks.......................141
DrawState object.......................142
Event handling.......................143
UIEvent base class.......................143
KeyboardEvent object.......................145
MouseEvent object.......................147
Keyboard state object.......................149
Graphic customization objects.......................149
ScriptUIGraphics object.......................149
ScriptUIBrush object.......................154
ScriptUIFont object.......................155
ScriptUIImage object.......................156
ScriptUIPath object.......................156
ScriptUIPen object.......................156
Custom element class.......................157
LayoutManager object.......................158
AutoLayoutManager object constructor.......................159
AutoLayoutManager object properties.......................159
AutoLayoutManager object functions.......................159
5 Interapplication Communication with Scripts.......................160
Communications overview.......................160
Remote function calls.......................160
Messaging framework.......................160
Identifying applications.......................161
Cross-DOM functions.......................161
Application-specific exported functions.......................161
Startup folder locations.......................162
Cross-DOM API reference.......................162
Communicating through messages.......................164
Sending messages.......................164
Receiving messages.......................166
Handling unsolicited messages.......................166
Handling responses from the message target.......................167
Passing values between applications.......................170
Messaging framework API reference.......................173
BridgeTalk class.......................173
BridgeTalk class properties.......................174
BridgeTalk class functions.......................175
BridgeTalk message object.......................179
BridgeTalk message object constructor.......................179
BridgeTalk message object properties.......................180
BridgeTalk message object callbacks.......................181
BridgeTalk message object functions.......................183
Messaging error codes.......................184
Application and namespace specifiers.......................185
Application specifiers.......................185
Namespace specifiers.......................187
6 External Communication Tools.......................188
Socket object.......................188
Chat server sample.......................189
Socket object reference.......................191
7 Integrating External Libraries.......................194
Loading and using shared libraries.......................194
ExternalObject object.......................195
ExternalObject constructor.......................195
ExternalObject class properties.......................196
ExternalObject class function.......................196
ExternalObject instance function.......................196
Defining entry points for direct access.......................197
Additional functions.......................197
Library initialization.......................198
Library termination.......................199
Defining entry points for indirect access.......................200
Shared-library function API.......................200
Support structures.......................207
8 ExtendScript Tools and Features.......................210
Dollar ($) object.......................210
Dollar ($) object properties.......................210
Dollar ($) object functions.......................212
ExtendScript reflection interface.......................214
Reflection object.......................214
ReflectionInfo object.......................215
Localizing ExtendScript strings.......................217
Variable values in localized strings.......................217
Enabling automatic localization.......................217
Locale names.......................218
Testing localization.......................219
Global localize function.......................219
User notification dialogs.......................220
Global alert function.......................220
Global confirm function.......................221
Global prompt function.......................222
Specifying measurement values.......................223
UnitValue object.......................223
Converting pixel and percentage values.......................224
Computing with unit values.......................225
Preprocessor directives.......................226
Operator overloading.......................228
9 Integrating XML into JavaScript.......................230
The XML Object.......................230
Accessing XML elements.......................231
Accessing XML attributes.......................232
Viewing XML objects.......................232
Modifying XML elements and attributes.......................233
Deleting elements and attributes.......................234
Retrieving contained elements.......................234
Creating and accessing namespaces.......................235
Mixing XML and JavaScript.......................237
XML lists.......................237
XML Object Reference.......................239
XML object.......................239
Global functions.......................247
QName object.......................248
Namespace object.......................248
10 Scripting Access to XMP Metadata.......................250
Accessing the XMP scripting API.......................250
Using the XMP scripting API.......................251
XMPScript object reference.......................254
XMPAliasInfo object.......................255
XMPConst object.......................255
XMPDateTime object.......................258
XMPFile object.......................260
XMPFileInfo object.......................264
XMPIterator object.......................265
XMPMeta object.......................265
XMPPacketInfo object.......................280
XMPProperty object.......................280
XMPUtils object.......................281
11 Porting Guide.......................287
New features in ExtendScript.......................287
ExtendScript Toolkit.......................287
ScriptUI.......................288
ExtendScript API.......................288
Changes and deprecations in ExtendScript API.......................289
Feature support in applications.......................289
Compiled JavaScript.......................289
Interapplication messaging.......................289
Index.......................291

Read this full Dreamweaver Tutorial of JAVASCRIPT TOOLS GUIDE


Resource: http://www.adobe.com/devnet/scripting/pdfs/javascript_tools_guide_cs4.pdf
Posted By : Honey
On date : 11.30.09

Most used Dreamweaver Tutorials

Dreamweaver CS4 Tutorial
In this Dreamweaver CS4 Tutorial you will learn how to create a basic website using Dreamweaver CS4. You will learn how to Define a site, Create a template, Design your template page, Design your css style sheet, Insert Editable Regions , Create the pages of your site using the template, Link all the pages together, Create a form, Check your site in the browser and, Upload your site and make it live
Dreamweaver Tutorial: ADOBE DREAMWEAVER CS3
DESIGN, DEVELOP, AND MAINTAIN STANDARDS-BASED WEBSITES AND APPLICATIONS
Dreamweaver Tutorial : Tableless Layout in Dreamweaver 8 Using the CSS Box Model
Create a new div using Dreamweaver's Div Tag object Use Dreamweaver layers for absolute positioning Position a Dreamweaver layer with content .
Flex 3: Introducing Cairngorm
In this module you will preview the use of Cairngorm for Flex. You will be introduced to concepts and components of Cairngorm; without the accompanying in-depth theory and details. You will also convert an existing Flex application to use Cairngorm.
Dreamweaver Tutorial : Web portfolios using Adobe Dreamweaver CS4
In this unit, students create the elements of a web portfolio with Adobe Dreamweaver CS4 and Adobe Fireworks CS4. They build a website that features work they have completed and work to be completed. As students create their portfolios, they plan, implement, and test their website designs; students then reflect on and evaluate their work. Incorporating graphic design techniques is essential in this unit. The presentation of a web portfolio can be just as important as its content.
Dreamweaver Tutorial : Designing a Client Website
In this Tutorial, student teams design a website for a client. Each team might have a different client, depending on the availability of resources. Students evaluate a client’s site, analyze it, compare it to similar sites, and propose design solutions for its navigation scheme and page layout.
Dreamweaver Tutorial : Macromedia Dreamweaver MX tutorial overview
The Macromedia Dreamweaver MX tutorials are for web designers and application developers interested in learning how to use Dreamweaver MX to build dynamic web applications.
Dreamweaver Tutorial : INTRODUCTION TO COLDFUSION 8
This Tutorial introduces experienced web developers to the fundamentals of ColdFusion 8 from Adobe Systems, Inc.. This is a project-based course where you will learn how to create dynamic, database-driven web applications using the Dreamweaver CS4 and ColdFusion 8 development environment.
Dreamweaver Tutorial : ADVANCED COLDFUSION 8 DEVELOPMENT
Advanced ColdFusion 8 Development is designed to teach you how to take full advantage of ColdFusion 8 while building web applications. In this project-based course, you incorporate advanced functionality to build a robust website and intranet for a fictional restaurant named Café Townsend using the Dreamweaver CS4 and ColdFusion 8 development environment.
Flex Application Performance: Tips and Techniques for Improving Client Application and Server Performance
Flex is like any other programming model because certain coding practices can be detrimental to the overall performance of your client application.
Dreamweaver Tutorial : FlashPaper 2
Convert files into web-ready Flash documents or PDFs. FlashPaper 2 allows anyone to convert printable files into Macromedia Flash documents or PDFs with one click.
Dreamweaver Tutorial : Using the Liquid CSS Layouts
In this Tutorial, will look at the pros and cons of creating a liquid layout using our fi ctional client, the Pleasantville Regional Chamber of Commerce.
Dreamweaver Tutorial : GETTING STARTED WITH COLDFUSION 8
This section gives you Step-by-Step instructions for installing and configuring ColdFusion 8. You will also learn how to install the Introduction to ColdFusion 8 course files.
Dreamweaver Tutorial : WORKING WITH PDF FILES AND FORMS
In this unit you will be able to generate, analyze and pre-fill PDF forms, as well as capture data submitted from a PDF form.
JAVASCRIPT TOOLS GUIDE
JavaScript is a platform-independent scripting language that you can use to control many features and automate many tasks in Adobe applications. Scripting is easier to learn and use than many other kinds of programming, and provides a convenient way of automating repetitive tasks or extending applications to provide additional tools for other users.

Latest added Dreamweaver Tutorials

JAVASCRIPT TOOLS GUIDE
JavaScript is a platform-independent scripting language that you can use to control many features and automate many tasks in Adobe applications. Scripting is easier to learn and use than many other kinds of programming, and provides a convenient way of automating repetitive tasks or extending applications to provide additional tools for other users.
ColdFusion 8 developer security guidelines
Adobe ColdFusion is a scripting language for creating dynamic Internet applications. It uses ColdFusion Markup Language (CFML), an XML tag–based scripting language, to connect to data providers, authentication systems, and other services.
ADOBE Indesign Cs3 CONVERSION GUIDE
This booklet was created specifically to help QuarkXPress users make the switch to InDesign as quickly and smoothly as possible.
Adobe Creative Suite 4 Printing Guide
Adobe® Creative Suite® 4 Printing Guide. Adobe is dedicated to providing software that allows designers to express their visual ideas, while providing tools and resources to printers to ensure that those ideas print as intended. While designers explore the creative features of Adobe Photoshop® CS4, Adobe InDesign® CS4, and Adobe Illustrator® CS4, as well as the capabilities of Acrobat® 9 Pro, printers need to take a rather different approach.
ENTERPRISE DEPLOYMENT GUIDE
This document is the central document in a set that provides you with the information you need to deploy Adobe Creative Suite products in an enterprise environment. The following figure shows the entire document set and how the documents are related.
Flex Application Performance: Tips and Techniques for Improving Client Application and Server Performance
Flex is like any other programming model because certain coding practices can be detrimental to the overall performance of your client application.
Using Macromedia Flex in a Portal Environment
A portal is a web application that aggregates content from different sources in an integrated user interface. In addition, portals usually provide personalization features, and single sign-on through their own built-in security infrastructure, or by integrating with third-party solutions such as Netegrity SiteMinder.
Dreamweaver Tutorial : AIR 1.5: Building Desktop Applications with Flex 3
This course is divided into modules, most of which present new information and contain demonstrations and walkthroughs. At the end of each module, you will find a summary and a short review to test your knowledge of the module’s content.
AIR 1.5: Building Desktop Applications with Flex 3
In this module you will learn how to store data on the host computer in an embedded database.
Flex 3: Introducing Cairngorm
In this module you will preview the use of Cairngorm for Flex. You will be introduced to concepts and components of Cairngorm; without the accompanying in-depth theory and details. You will also convert an existing Flex application to use Cairngorm.