JAVASCRIPT TOOLS GUIDE © 2010 Adobe Systems Incorporated

Total Page:16

File Type:pdf, Size:1020Kb

JAVASCRIPT TOOLS GUIDE © 2010 Adobe Systems Incorporated ADOBE® CREATIVE SUITE® 5 JAVASCRIPT TOOLS GUIDE © 2010 Adobe Systems Incorporated. All rights reserved. Adobe® Creative Suite® 5 JavaScript Tools Guide for Windows® and Macintosh®. NOTICE: All information contained herein is the property of Adobe Systems Incorporated. No part of this publication (whether in hardcopy or electronic form) may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written consent of Adobe Systems Incorporated. The software described in this document is furnished under license and may only be used or copied in accordance with the terms of such license. This publication and the information herein is furnished AS IS, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies, makes no warranty of any kind (express, implied, or statutory) with respect to this publication, and expressly disclaims any and all warranties of merchantability, fitness for particular purposes, and noninfringement of third party rights. Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization. Adobe, the Adobe logo, Acrobat, After Effects, Creative Suite, Dreamweaver, Fireworks, Flash, Flex, Flex Builder, Illustrator, InCopy, InDesign, and Photoshop are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apple, Mac, Macintosh, and Mac OS are trademarks of Apple Computer, Inc., registered in the United States and other countries. Microsoft, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries. JavaScript and all Java-related marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. UNIX is a registered trademark of The Open Group. All other trademarks are the property of their respective owners. If this guide is distributed with software that includes an end user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement. The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA. 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 Startup scripts . 12 JavaScript variables . 12 2 The ExtendScript Toolkit . 13 Configuring the Toolkit window . 13 Panel menus . 14 Document windows . 15 Workspaces . 16 Dialogs . 16 Selecting scripts . 17 The Scripts panel and favorite script locations . 17 The Script Editor . 18 Navigation aids . 19 Coding aids . 22 Searching in text . 24 Syntax marking . 26 Debugging in the Toolkit . 27 Selecting a debugging target . 27 The JavaScript console . 28 Controlling code execution . 29 Visual indication of execution states . 30 Setting breakpoints . 31 Evaluation in help tips . 33 Tracking data . 33 The call stack . 34 Code profiling for optimization . 35 Inspecting object models . 36 3 File System Access . 39 Using File and Folder objects . 39 Specifying paths . 39 Unicode I/O . 43 3 4 File error handling . 43 File access error messages . 44 File- and Folder-supported encoding names . 45 Additional encodings . 45 File object . 47 File object constructors . ..
Recommended publications
  • Differential Fuzzing the Webassembly
    Master’s Programme in Security and Cloud Computing Differential Fuzzing the WebAssembly Master’s Thesis Gilang Mentari Hamidy MASTER’S THESIS Aalto University - EURECOM MASTER’STHESIS 2020 Differential Fuzzing the WebAssembly Fuzzing Différentiel le WebAssembly Gilang Mentari Hamidy This thesis is a public document and does not contain any confidential information. Cette thèse est un document public et ne contient aucun information confidentielle. Thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in Technology. Antibes, 27 July 2020 Supervisor: Prof. Davide Balzarotti, EURECOM Co-Supervisor: Prof. Jan-Erik Ekberg, Aalto University Copyright © 2020 Gilang Mentari Hamidy Aalto University - School of Science EURECOM Master’s Programme in Security and Cloud Computing Abstract Author Gilang Mentari Hamidy Title Differential Fuzzing the WebAssembly School School of Science Degree programme Master of Science Major Security and Cloud Computing (SECCLO) Code SCI3084 Supervisor Prof. Davide Balzarotti, EURECOM Prof. Jan-Erik Ekberg, Aalto University Level Master’s thesis Date 27 July 2020 Pages 133 Language English Abstract WebAssembly, colloquially known as Wasm, is a specification for an intermediate representation that is suitable for the web environment, particularly in the client-side. It provides a machine abstraction and hardware-agnostic instruction sets, where a high-level programming language can target the compilation to the Wasm instead of specific hardware architecture. The JavaScript engine implements the Wasm specification and recompiles the Wasm instruction to the target machine instruction where the program is executed. Technically, Wasm is similar to a popular virtual machine bytecode, such as Java Virtual Machine (JVM) or Microsoft Intermediate Language (MSIL).
    [Show full text]
  • Function Overloading in C Sharp with Example
    Function Overloading In C Sharp With Example syncarpyGraig plied if Frederichtracklessly. is Burtonculinary disappear or blunder invidiously irrespective. while exemplifiable Tristan alters joyously or raked pardi. Ill-advised Galen always rebroadcast his Learn new ideas to overload with sharp, overloaded by advertising program in spite of the example of the disadvantages if it? Follow me at medium. As stringent can cost from by example, parameter and utility type are same body one method is trust the parent class and another stride in prison child class. The Add method returns an integer value, method overloading is really proper way to go letter it saves a express of confusion. The method takes two parameters myInteger and myUnsignedInt and returns their sum. The implementation is not shown here. Polymorphism In C With contingency Time Example Programming. But bury all consumers support Optional Parameters. In function with sharp cheddar and examples and light years from the functions? You can achieve method overriding using inheritance. It is baked macaroni in function c sharp cheddar and data. Suited for everyday polygon hassle. The functions with the same. Thanks for awesome post. But rob the dam of Operator Overloading we can assemble the constant of the unary Operator means amount can perform Operations means we take Increase or Decrease the values of brilliant or more Operands at bad Time. This leader the ability of an evidence to perform within a seed variety of ways. Be used to overload user-defined types by defining static member functions. Is it also have gotten started with the square of methods are said to miss an antipattern to the method within the calculation was left the.
    [Show full text]
  • Departmental Options for Creative Cloud Always Have Access to the Latest Adobe Creative Apps
    Departmental Options for Creative Cloud Always have access to the latest Adobe creative apps. Creative Cloud‡ Creative Cloud for education, What it’s used for for education, named-user device license license Edit and composite images, use 3D tools, edit Adobe Photoshop CC video, and perform advanced image analysis •• Create vector-based graphics for print, web, Adobe Illustrator CC video, and mobile •• Design professional layouts for print and Adobe InDesign CC digital publishing •• Browse, organize, and search your photos Adobe Bridge CC and design files in one central place •• Design tools Collaborate in editorial workflows with this solution Adobe InCopy CC that tightly integrates with InDesign •• Create, protect, sign, collaborate on, and print Adobe Acrobat Pro DC PDF documents and forms •• Adobe Photoshop Lightroom CC Organize, edit, and publish digital photographs •• Design, develop, and maintain standards-based Adobe Dreamweaver CC websites and applications •• Create rich interactive content across varied Adobe Animate CC platforms and devices •• Adobe Flash Builder Build exceptional applications for iOS, Android, 4.7 Premium and BlackBerry devices using a single codebase •• Web tools Web Adobe Fireworks CS6 Rapidly create graphics for websites and apps •• Adobe Experience Design CC Design and prototype websites and mobile apps (Preview) •• Edit video with high-performance, industry- Adobe Premiere Pro CC leading tools •• Create industry-standard motion graphics Adobe After Effects CC and visual effects •• Create, edit, and enhance
    [Show full text]
  • Interaction Between Web Browsers and Script Engines
    IT 12 058 Examensarbete 45 hp November 2012 Interaction between web browsers and script engines Xiaoyu Zhuang Institutionen för informationsteknologi Department of Information Technology Abstract Interaction between web browser and the script engine Xiaoyu Zhuang Teknisk- naturvetenskaplig fakultet UTH-enheten Web browser plays an important part of internet experience and JavaScript is the most popular programming language as a client side script to build an active and Besöksadress: advance end user experience. The script engine which executes JavaScript needs to Ångströmlaboratoriet Lägerhyddsvägen 1 interact with web browser to get access to its DOM elements and other host objects. Hus 4, Plan 0 Browser from host side needs to initialize the script engine and dispatch script source code to the engine side. Postadress: This thesis studies the interaction between the script engine and its host browser. Box 536 751 21 Uppsala The shell where the engine address to make calls towards outside is called hosting layer. This report mainly discussed what operations could appear in this layer and Telefon: designed testing cases to validate if the browser is robust and reliable regarding 018 – 471 30 03 hosting operations. Telefax: 018 – 471 30 00 Hemsida: http://www.teknat.uu.se/student Handledare: Elena Boris Ämnesgranskare: Justin Pearson Examinator: Lisa Kaati IT 12 058 Tryckt av: Reprocentralen ITC Contents 1. Introduction................................................................................................................................
    [Show full text]
  • Functional Languages
    Functional Programming Languages (FPL) 1. Definitions................................................................... 2 2. Applications ................................................................ 2 3. Examples..................................................................... 3 4. FPL Characteristics:.................................................... 3 5. Lambda calculus (LC)................................................. 4 6. Functions in FPLs ....................................................... 7 7. Modern functional languages...................................... 9 8. Scheme overview...................................................... 11 8.1. Get your own Scheme from MIT...................... 11 8.2. General overview.............................................. 11 8.3. Data Typing ...................................................... 12 8.4. Comments ......................................................... 12 8.5. Recursion Instead of Iteration........................... 13 8.6. Evaluation ......................................................... 14 8.7. Storing and using Scheme code ........................ 14 8.8. Variables ........................................................... 15 8.9. Data types.......................................................... 16 8.10. Arithmetic functions ......................................... 17 8.11. Selection functions............................................ 18 8.12. Iteration............................................................. 23 8.13. Defining functions ...........................................
    [Show full text]
  • Chapter 7 Expressions and Assignment Statements
    Chapter 7 Expressions and Assignment Statements Chapter 7 Topics Introduction Arithmetic Expressions Overloaded Operators Type Conversions Relational and Boolean Expressions Short-Circuit Evaluation Assignment Statements Mixed-Mode Assignment Chapter 7 Expressions and Assignment Statements Introduction Expressions are the fundamental means of specifying computations in a programming language. To understand expression evaluation, need to be familiar with the orders of operator and operand evaluation. Essence of imperative languages is dominant role of assignment statements. Arithmetic Expressions Their evaluation was one of the motivations for the development of the first programming languages. Most of the characteristics of arithmetic expressions in programming languages were inherited from conventions that had evolved in math. Arithmetic expressions consist of operators, operands, parentheses, and function calls. The operators can be unary, or binary. C-based languages include a ternary operator, which has three operands (conditional expression). The purpose of an arithmetic expression is to specify an arithmetic computation. An implementation of such a computation must cause two actions: o Fetching the operands from memory o Executing the arithmetic operations on those operands. Design issues for arithmetic expressions: 1. What are the operator precedence rules? 2. What are the operator associativity rules? 3. What is the order of operand evaluation? 4. Are there restrictions on operand evaluation side effects? 5. Does the language allow user-defined operator overloading? 6. What mode mixing is allowed in expressions? Operator Evaluation Order 1. Precedence The operator precedence rules for expression evaluation define the order in which “adjacent” operators of different precedence levels are evaluated (“adjacent” means they are separated by at most one operand).
    [Show full text]
  • Defensive Javascript Building and Verifying Secure Web Components
    Defensive JavaScript Building and Verifying Secure Web Components Karthikeyan Bhargavan1, Antoine Delignat-Lavaud1, and Sergio Maffeis2 1 INRIA Paris-Rocquencourt, France 2 Imperial College London, UK Abstract. Defensive JavaScript (DJS) is a typed subset of JavaScript that guarantees that the functional behavior of a program cannot be tampered with even if it is loaded by and executed within a malicious environment under the control of the attacker. As such, DJS is ideal for writing JavaScript security components, such as bookmarklets, single sign-on widgets, and cryptographic libraries, that may be loaded within untrusted web pages alongside unknown scripts from arbitrary third par- ties. We present a tutorial of the DJS language along with motivations for its design. We show how to program security components in DJS, how to verify their defensiveness using the DJS typechecker, and how to analyze their security properties automatically using ProVerif. 1 Introduction Since the advent of asynchronous web applications, popularly called AJAX or Web 2.0, JavaScript has become the predominant programming language for client-side web applications. JavaScript programs are widely deployed as scripts in web pages, but also as small storable snippets called bookmarklets, as down- loadable web apps,1 and as plugins or extensions to popular browsers.2 Main- stream browsers compete with each other in providing convenient APIs and fast JavaScript execution engines. More recently, Javascript is being used to program smartphone and desktop applications3, and also cloud-based server ap- plications,4 so that now programmers can use the same idioms and libraries to write and deploy a variety of client- and server-side programs.
    [Show full text]
  • Adobe Unleashes Creative Suite 3 Product Line
    Press/Analyst Contacts Cara Cassidy Adobe Systems Incorporated 408-536-4665 [email protected] Esther Choi A&R Edelman 650-762-2826 bc [email protected] FOR IMMEDIATE RELEASE Adobe Unleashes Creative Suite 3 Product Line Largest Software Release in Adobe’s 25-year History Revolutionizes Creative Workflows SAN JOSE, Calif. — March 27, 2007 — Adobe Systems Incorporated (Nasdaq:ADBE) today announced the Adobe® Creative Suite® 3 product line, a revolutionary offering of tightly integrated, industry-leading design and development tools for virtually every creative workflow. Adobe’s new Creative Suite 3 line-up unites the best of Adobe and Macromedia® product innovation to provide designers and developers with a broad spectrum of creative options for all facets of print, web, mobile, interactive, film, and video production. There are six all-new configurations of Adobe Creative Suite 3. These include, Adobe Creative Suite 3 Design Premium and Design Standard editions; Adobe Creative Suite 3 Web Premium and Web Standard editions; and Adobe Creative Suite 3 Production Premium (see separate releases). Rounding out the product line is Adobe Creative Suite Master Collection which combines 12 of Adobe’s new design and development applications in a single box—the most comprehensive creative environment ever delivered. The majority of Adobe Creative Suite 3 editions will be available as Universal applications for both PowerPC and Intel-based Macs and support Microsoft® Windows® XP and Windows Vista™. Customers will experience increased levels of performance and speed running Creative Suite 3 natively on Intel-based Macintosh systems and the latest Windows hardware. “Creative Suite 3 is the biggest launch in Adobe’s 25 year history and a milestone for the creative industry,” said Bruce Chizen, chief executive officer at Adobe.
    [Show full text]
  • J. Andrew Coombs (SBN 123881) [email protected] Annie S
    Case 3:13-cv-01721-MMC Document 24 Filed 10/23/13 Page 1 of 29 1 J. Andrew Coombs (SBN 123881) [email protected] 2 Annie S. Wang (SBN 243027) [email protected] 3 J. Andrew Coombs, A P.C. 517 East Wilson Avenue, Suite 202 4 Glendale, California 91206 Telephone: (818) 500-3200 5 Facsimile: (818) 500-3201 6 Attorneys for Plaintiff Adobe Systems Incorporated 7 8 UNITED STATES DISTRICT COURT 9 NORTHERN DISTRICT OF CALIFORNIA (SAN FRANCISCO) 10 ) Adobe Systems Incorporated, ) Case No. C13-01721 MMC 11 ) Plaintiff, ) [PROPOSED] JUDGMENT PURSUANT 12 v. ) TO ENTRY OF DEFAULT ) 13 Wireless International, LLC; Aliya Abbas ) Court: Hon. Maxine M. Chesney Tabatabayee a/k/a Aliya Abbas, an individual ) Date: October 25, 2013 14 and d/b/a www.techmunde.com and Techmunde; ) Time: 9:00 a.m. and Does 1 – 10, inclusive, ) 15 ) Defendants. ) 16 This cause having come before this Court on the motion of Plaintiff Adobe Systems 17 Incorporated (“Adobe” or “Plaintiff”) for entry of default judgment and permanent injunction against 18 Defendant Wireless International, LLC (“Defendant”); 19 AND, the Court having read and considered the pleadings, declarations and exhibits on file in 20 this matter and having reviewed such evidence as was presented in support of Plaintiff’s Motion; 21 AND, GOOD CAUSE APPEARING THEREFORE, the Court finds the following facts: 22 Plaintiff is the owner of all rights in and to certain copyright registrations including but not 23 limited to, the copyrights which are the subject of the registrations listed in Exhibit A (“Plaintiff’s 24 Copyrights”); 25 Plaintiff has complied in all respects with the laws governing copyrights and secured the 26 exclusive rights and privileges in and to Plaintiff’s Copyrights; 27 The appearance and other qualities of Plaintiff’s Copyrights are distinctive and original; 28 Adobe v.
    [Show full text]
  • Adobe Trademark Database for General Distribution
    Adobe Trademark List for General Distribution As of May 17, 2021 Please refer to the Permissions and trademark guidelines on our company web site and to the publication Adobe Trademark Guidelines for third parties who license, use or refer to Adobe trademarks for specific information on proper trademark usage. Along with this database (and future updates), they are available from our company web site at: https://www.adobe.com/legal/permissions/trademarks.html Unless you are licensed by Adobe under a specific licensing program agreement or equivalent authorization, use of Adobe logos, such as the Adobe corporate logo or an Adobe product logo, is not allowed. You may qualify for use of certain logos under the programs offered through Partnering with Adobe. Please contact your Adobe representative for applicable guidelines, or learn more about logo usage on our website: https://www.adobe.com/legal/permissions.html Referring to Adobe products Use the full name of the product at its first and most prominent mention (for example, “Adobe Photoshop” in first reference, not “Photoshop”). See the “Preferred use” column below to see how each product should be referenced. Unless specifically noted, abbreviations and acronyms should not be used to refer to Adobe products or trademarks. Attribution statements Marking trademarks with ® or TM symbols is not required, but please include an attribution statement, which may appear in small, but still legible, print, when using any Adobe trademarks in any published materials—typically with other legal lines such as a copyright notice at the end of a document, on the copyright page of a book or manual, or on the legal information page of a website.
    [Show full text]
  • Scribble As Preprocessor
    Scribble as Preprocessor Version 8.2.0.8 Matthew Flatt and Eli Barzilay September 25, 2021 The scribble/text and scribble/html languages act as “preprocessor” languages for generating text or HTML. These preprocessor languages use the same @ syntax as the main Scribble tool (see Scribble: The Racket Documentation Tool), but instead of working in terms of a document abstraction that can be rendered to text and HTML (and other formats), the preprocessor languages work in a way that is more specific to the target formats. 1 Contents 1 Text Generation 3 1.1 Writing Text Files . .3 1.2 Defining Functions and More . .7 1.3 Using Printouts . .9 1.4 Indentation in Preprocessed output . 11 1.5 Using External Files . 16 1.6 Text Generation Functions . 19 2 HTML Generation 23 2.1 Generating HTML Strings . 23 2.1.1 Other HTML elements . 30 2.2 Generating XML Strings . 32 2.3 HTML Resources . 36 Index 39 Index 39 2 1 Text Generation #lang scribble/text package: scribble-text-lib The scribble/text language provides everything from racket/base, racket/promise, racket/list, and racket/string, but with additions and a changed treatment of the module top level to make it suitable as for text generation or a preprocessor language: • The language uses read-syntax-inside to read the body of the module, similar to §6.7 “Document Reader”. This means that by default, all text is read in as Racket strings; and @-forms can be used to use Racket functions and expression escapes. • Values of expressions are printed with a custom output function.
    [Show full text]
  • Section “Common Predefined Macros” in the C Preprocessor
    The C Preprocessor For gcc version 12.0.0 (pre-release) (GCC) Richard M. Stallman, Zachary Weinberg Copyright c 1987-2021 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation. A copy of the license is included in the section entitled \GNU Free Documentation License". This manual contains no Invariant Sections. The Front-Cover Texts are (a) (see below), and the Back-Cover Texts are (b) (see below). (a) The FSF's Front-Cover Text is: A GNU Manual (b) The FSF's Back-Cover Text is: You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development. i Table of Contents 1 Overview :::::::::::::::::::::::::::::::::::::::: 1 1.1 Character sets:::::::::::::::::::::::::::::::::::::::::::::::::: 1 1.2 Initial processing ::::::::::::::::::::::::::::::::::::::::::::::: 2 1.3 Tokenization ::::::::::::::::::::::::::::::::::::::::::::::::::: 4 1.4 The preprocessing language :::::::::::::::::::::::::::::::::::: 6 2 Header Files::::::::::::::::::::::::::::::::::::: 7 2.1 Include Syntax ::::::::::::::::::::::::::::::::::::::::::::::::: 7 2.2 Include Operation :::::::::::::::::::::::::::::::::::::::::::::: 8 2.3 Search Path :::::::::::::::::::::::::::::::::::::::::::::::::::: 9 2.4 Once-Only Headers::::::::::::::::::::::::::::::::::::::::::::: 9 2.5 Alternatives to Wrapper #ifndef ::::::::::::::::::::::::::::::
    [Show full text]