Scripting In this presentation… –centric’s scripting support. VBScript and JScript. Scripting Editor.

Slides:



Advertisements
Similar presentations
Integrated Business Applications with Databases (D3) Jenny Pedler
Advertisements

HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Customisation The GUI in most GIS applications is sufficient for most needs. However, situations arise where you want either to: –Modify the interface,
The Web Warrior Guide to Web Design Technologies
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Chapter 6 Multiform Projects Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
1 Chapter 12 Working With Access 2000 on the Internet.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
COMP205 Comparative Programming Languages Part 1: Introduction to programming languages Lecture 3: Managing and reducing complexity, program processing.
1 Chapter 4 The Fundamentals of VBA, Macros, and Command Bars.
Using the Visual Basic Editor Visual Basic for Applications 1.
Slide 1 ICS 012 Visual Programming I Ahmed Esmat Second.
Eyad Alshareef 1 Creating Custom Forms Part A. 2Eyad Alshareef Data Block and Custom Forms Data block form Data block form Based on data blocks that are.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
JavaScript, Third Edition
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One An Introduction to Visual Basic 2010.
1 Chapter One A First Program Using C#. 2 Objectives Learn about programming tasks Learn object-oriented programming concepts Learn about the C# programming.
V Avon High School Tech Club Agenda Old Business –Delete Files New Business –Week 16 Topics: Intro to HTML/CSS –Questions? Tech Club Forums.
A First Program Using C#
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Advanced Integration - Grid Control In this presentation… –The enhanced Grid control. –Application integration. –New properties and events. –Connecting.
1 Chapter 9 Writing, Testing, and Debugging Access Applications.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Chapter 11: Introduction to the Visual Basic Environment Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
An Introduction to Visual Basic
DEBUGGING CHAPTER Topics  Getting Started with Debugging  Types of Bugs –Compile-Time Bugs –Bugs Attaching Scripts –Runtime Errors  Stepping.
WEEK 3 AND 4 USING CLIENT-SIDE SCRIPTS TO ENHANCE WEB APPLICATIONS.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Summer Computing Workshop. Session 2 Input in Scratch  Multi-Character input - This is used when the user is prompted to enter a number or word.  Problems.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
OCC Network Drives  H:\  P:\ 
University of Sunderland COM 220 Lecture Six Slide 1 Building Interactive Forms Applications using Oracle.
Remote programs and commands In this presentation… –rpc concepts –rpc connections –rpc actions.
University of Sunderland CIF 102/FIF102 Fundamentals of DatabasesUnit 15 Programming in Microsoft Access using VBA Using VBA to add functionality.
COP4020 Programming Languages Names, Scopes, and Bindings Prof. Xin Yuan.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Win32 Controls & ActiveX Integration In this presentation… –Introduction to the new Win32 controls. What they are? How they are enabled? Potential uses.
Chapter 11: Introduction to VBA Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One An Introduction to Visual Basic 2008.
USING JAVASCRIPT TO SHOW AN ALERT Web Design Sec 6-2 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Lesson 30: JavaScript and DHTML Fundamentals. Objectives Define and contrast client-side and server-side technologies used to create dynamic content for.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 14 Event-Driven Programming with Graphical User Interfaces.
ASP Syntax Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Visual Basic.Net. Software to Install Visual Studio 2005 Professional Edition (Requires Windows XP Pro) MSDN Library for Visual Studio 2005 Available.
Screens naming screens and concepts v2.8 Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
Collision Theory and Logic
Development Environment
Using JavaScript to Show an Alert
Chapter 1: An Introduction to Visual Basic 2015
Collision Theory and Logic
Chapter Topics 15.1 Graphical User Interfaces
Enhanced Grid & Tab Controls - Introduction
Guide To UNIX Using Linux Third Edition
Microsoft Access Illustrated
Introduction to Events
CIS16 Application Development Programming with Visual Basic
Chapter 6: Creating Custom Forms
Chapter 15: GUI Applications & Event-Driven Programming
Presentation transcript:

Scripting In this presentation… –centric’s scripting support. VBScript and JScript. Scripting Editor.

Scripting New scripting support –centric 8 offers a full scripting environment supporting both VBScript and JScript. –Add new functionality. –Integrate with third party applications.

Scripting New scripting support (cont’d) –Mix any combination of looksoftware macros, JScript and VBScript. –Scripting environment provides intellisense prompting, syntax checking and object model access, and method support. –Integrated debugging supports breakpoints, watch variables, stepped execution and execution contexts (Microsoft Script Debugging needs to be installed).

Scripting Scripts –A program that contains a set of scripting commands. –More powerful than macros as they allow you to use objects that other users have created. –centric 8 supports both VBScript and JScript. –For further information on VBScript and Jscript visit the language reference manuals at Microsoft’s MSDN website.

Scripting Script Editor –Used to: Define scripts associated with Designer controls. Integrate with third party applications. Set the properties of controls on the current screen. Controlling interface navigation. Overriding instance level properties. Manipulating custom variables. Linking scripts to events.

Scripting centric’s Object Model –Objects An object can be viewed as a container for properties, events and methods. –Properties Objects generally have properties. A property has a name, such as Caption, and it also has a Type such a string. The name is what the property is referred to as when using it via scripting or macros. –Events In order to respond to events occurring to objects at runtime, objects need a way of telling something has happened. This is done through the concept of Events. –Methods Objects can also have methods. A method is like a function or procedure that can be called from a macro or script to perform some specific functionality on the object.

Scripting Scripting Fundamentals –Scripts are executed top to bottom unless flow constructs are used (if or for). –Scripts may also have functions (JScript) or procedures (VBScript). –Call script functions/procedures from your scripts or they can be called in response to a centric event. –To call a function/procedure specify the script name then add a (.) dot, and then follow with the function/procedure name. for(i = 1; i <= 10; i++) { MsgBox(i); } In VBScript, you would use: for i = 1 to 10 MsgBox I next

Summary –New scripting editor supports VBScript and JScript. –More powerful than macros as they allow you to use objects that other users have created.

centric 8 Training Workshop 2