DMED1100 InDesign Advanced Class 8. Agenda  Scripting  Introduction to XML 2.

Slides:



Advertisements
Similar presentations
1 Web Site Design Overview of the Internet Cookie Setton.
Advertisements

Tutorial 8: Developing an Excel Application
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
® Copyright 2008 Adobe Systems Incorporated. All rights reserved. ADOBE® ACCESSIBILITY Achieving Accessibility with PDF Greg Pisocky Accessibility Specialist.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Chapter 3 Tables and Page Layout
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
Using the Visual Basic Editor Visual Basic for Applications 1.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Introduction to OBIEE: Learning to Access, Navigate, and Find Data in the SWIFT Data Warehouse Lesson 8: Printing and Exporting an OBIEE Analysis This.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Chapter 19 – Macromedia Dreamweaver MX 2004
Excel Lesson 14 Creating and Using Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Macros and VBA A macro is a set of instructions that tells Excel which commands to execute.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 2: Working with Webpage Files.
Getting Started with Expression Web 3
Web Design Using HTML Codes. WHAT DO I NEED TO BEGIN DESIGNING A HOME PAGE? 1.YOU NEED A FOLDER (also called a DIRECTORY) You should set up a folder or.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
CS 299 – Web Programming and Design Introduction to HTML.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Bare bones notes. Suggested organization for main folder. REQUIRED organization for the 115 folder.
1 Macromedia Dreamweaver Outline Introduction Macromedia Dreamweaver Text Styles Images and Links Symbols and Lines Tables Forms Scripting in Dreamweaver.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
February 2006Colby College ITS Introduction to Entourage 2008.
Quick Reference notes  Part of the Microsoft® Office Fluent user interface, the ribbon is the rectangular region across the top of the document window.
1 of 8 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
HTML Concepts and Techniques Fourth Edition Project 12 Creating and Using XML Documents.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
Copyright © 2013 MyGraphicsLab / Pearson Education THE INTERFACE MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
FILES AND ASSETS PANELS
HTML: Hyptertext Markup Language Doman’s Sections.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 13 Templates.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
TUTORIAL 9 INSTRUCTOR: HANIF ULLAH ID: OFFICE #: 2029 DATE: 22/04/2012 Introduction to MS Project 2007.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Tutorial 3 Adding and Formatting Text with CSS Styles.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Showing the Developer Tab. Windows vs Mac This is one of the places where the Mac and Windows procedures are different. We’ll look at the Windows method.
® Copyright 2008 Adobe Systems Incorporated. All rights reserved. ADOBE® ACCESSIBILITY PDF Accessibility – Best Practices for Authoring Pete DeVasto Greg.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
FIRST COURSE PowerPoint Tutorial 4 Integrating PowerPoint with Other Programs and Collaborating with Workgroups.
Creating and Editing a Web Page
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Chapter 29. Copyright 2003, Paradigm Publishing Inc. CHAPTER 29 BACKNEXTEND 29-2 LINKS TO OBJECTIVES Attach an XML Schema Attach an XML Schema Load XML.
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Excel Tutorial 8 Developing an Excel Application
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Introduction to OBIEE:
Microsoft Excel 2007 – Level 2
Presentation transcript:

DMED1100 InDesign Advanced Class 8

Agenda  Scripting  Introduction to XML 2

Scripting is Not …  Overtly challenging  Only for programmers  Just for long tasks 3

Running Scripts  Put the script in Adobe InDesign CS4\Scripts\Scripts Panel Could also put a shortcut to the script in the folder  Open Scripts Panel Window -> Automation -> Scripts Alt + Ctrl + F11  Double-click the script name 4 p. 683

Writing Scripts Three main supported scripting languages:  JavaScript InDesign has built-in support called ExtendScript Is cross-platform Doesn’t easily communicate with other (Non-CS) programs File extension.js or.jsx (preferred) 5 p. 683

Writing Scripts  AppleScript For the Mac OS File extension.applescript or.as 6

Writing Scripts  Visual Basic For Windows Three main types:  Visual Basic Script (VBScript)  Visual Basic for Applications (VBA)  Visual Basic (VB 6, VB.NET) Textbook recommends using VBScript  Can edit via text editor (NotePad or NotePad++) Could also edit using VBA  Accessible from most Office software 7

Writing Scripts  In Excel Developer -> Visual Basic If Developer tab is unavailable  Office Button -> Excel Options -> Popular -> Show Developer Tab in Ribbon 8

Writing Scripts  Any language that can connect to the platform works C, C++, C# Perl Python JScript And many others … 9

Scripting Tutorial  Download InDesignCS4ScriptingTutorial.pdf InDesignCS4ScriptingTutorialScripts.zip  Work through the tutorial 10

Using the ESTK  Full-featured text editor  Also checks syntax of script Edit -> Check Syntax  Make sure InDesign selected as target application  To turn on ID’s screen display Scripts Panel (ID) -> Options -> Enable Redraw 11 p. 700

Monitoring Events  Scripts can be run when events happen: Opening a document Creating a new document Saving a document Closing a document Exporting 12 p. 710

Menu Scripts  Scripts can run menu items or add items to menus  See Adobe InDesign CS4 Scripting Guide for more details 13 p. 712

Startup Scripts  Place script in a folder Startup Scripts in Scripts folder  Need to add some lines to prevent message box 14 p. 712

XML  Extensible Markup Language  A way to tag information in a text file Information about author  Not just an extension of HTML HTML is about formatting XML is about content 15 p. 739

XML Vocabulary  Tag A label for a piece of XML data Marked with angle brackets Cannot contain space characters Must be well formatted  XML Element The actual XML data Charles Dickens 16

XML Vocabulary  Elements may contain other elements: Charles Dickens 7 February 1812 Landport, Portsmouth 17

XML Vocabulary  XML Attribute Use to add information about the element  Known as Metadata  XML Comment Allow you to keep notes 18

XML Vocabulary  XML Processing Instructions InDesign does not use Can just delete if they exist  DTD (Document Type Definition) Description of:  What elements appear  The order of appearance Not required by InDesign 19

Structure View  View -> Structure -> Show Structure 20 p. 743

XML Tags  Tags panel Window -> Tags 21 p. 749

Importing XML  File -> Import XML  Import Options: Mode: Replace or Merge with existing XML Create Link: to source XML document Apply XSLT: apply a style sheet Clone Repeating Text Elements: allows automatic placement of XML elements 22 p. 757

Replacing XML Elements  Select structure in Structure View  Choose Import XML  Turn on Replace Content  Turn on Import Into Selected Element 23

Exporting XML  File -> Export  Choose XML from Format pop-up menu 24 p. 762

Creating Placeholders  Look at pp