Structured ASIC Xcellence Framescript A case study demonstrating the power of Framescript to automate the generation of a Data Book or Catalogue.

Slides:



Advertisements
Similar presentations
Debugging ACL Scripts.
Advertisements

Save these file as a web page
JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
Microsoft® Word 2010 Training
The essentials managers need to know about Excel
Setting up Articles Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
ADA Compliant Websites & Documents What the heck am I supposed to do?
Business Computer Information Systems 1A Microsoft Office XP Word: Lessons 6 – Desktop Publishing, Lesson 7 – Working With Documents, Lesson 8 – Increasing.
Exploring Office Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1 – Introduction to Excel: What is a Spreadsheet?
Microsoft Access A Hands-On Introduction Chapter 4.
Chapter 10 Introduction to Arrays
1 An Introduction to IBM SPSS PSY450 Experimental Psychology Dr. Dwight Hennessy.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT WORD Lesson 7 – Working With Documents.
1 Create a Questionnaire Learning Objective  To learn how to use the features in Microsoft Publisher to create a questionnaire.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
BETTER MANAGING OUR TIME KRONOS TIMEKEEPER SCHEDULING TRAINING YMCA OF METROPOLITAN DALLAS August 30, 2015.
Notes to Teachers: 1.Make sure each student has his/her file open from the previous class “(student name).xlsx”. 2.A vocabulary list is included on last.
Exploring Excel 2003 Revised - Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 1 – Introduction to Excel: What is a.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
MBAC 611.  Click on the My Computer Icon  Open your private network directory  Create a new folder named lab7  Copy your lab6 Access file to the lab7.
WorkPlace Pro Utilities.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Key Applications Module Lesson 16 — Excel Essentials Computer Literacy BASICS.
1 Lesson 22 Getting Started with Access Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Microsoft Office 2003 Illustrated Brief Document Creating a.
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
Creating a Web Site to Gather Data and Conduct Research.
How to Create an Electricity Timeline By: Mr. Toole.
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
WELCOME EF 105 Spring EF 105 Computer Methods in Engineering Problem Solving Week 2: FrontPage Introduction to Software Use to create Web Pages.
1 Functions 1 Parameter, 1 Return-Value 1. The problem 2. Recall the layout 3. Create the definition 4. "Flow" of data 5. Testing 6. Projects 1 and 2.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Lesson 17 Getting Started with Access Essentials
Organizing a project, making a table Biostatistics 212 Lecture 7.
Organizing a project, making a table Biostatistics 212 Session 5.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Colleague, Excel & Word Best of Friends Presented by: Joan Kaun & Yvonne Nelson College of the Rockies.
Moodle with Style Integrating new technologies to empower learning and transform leadership.
Typing and Formatting a Research Paper WORD 2013.
Editing Basics Lesson 8. Skills Matrix SKILL #MATRIX SKILL 2.2.1Cut, copy, and paste text 2.2.2Find and replace text 4.1.1Insert building blocks in documents.
1 Using Conditional Formatting & Data Validation Applications of Spreadsheets.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
start The first step in the word application Add the word linked between the words or and information in the first line of the text. Add the word linked.
By: Ms. Abeer Helwa 1. WORD WEB APP 2 Word Web App is a limited version of Word, enabling you to edit, format, and share documents online. Word Web App.
Landscaper 101. Time Code AMC AMCNET HELP!!! Where do you go for help? –Upper right corner has a ? for the online help –This presentation.
GEO375 Final Project: From Txt to Geocoded Data. Goal My Final project is to automate the process of separating, geocoding and processing 911 data for.
Positioning Objects with CSS and Tables
Mail merge I: Use mail merge for mass mailings Overview: Mailings en masse What if you need to send to each of your employees a letter containing personal.
Prepared by the Academic Faculty Members of IT. Tables Creating Tables. Merging Cells. Splitting Cells. Sorting Tables. Performing Calculations.
An electronic document that stores various types of data.
Open Office Writer Introduction AOSS _ Course material AOSS Master training workshop Singapore 2007.
For Datatel and other applications Presented by Cheryl Sullivan.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
June 17, 2009 Office 2007 Tips & Tricks.
T3/Tutorials: Data Submission
A step-by-Step Guide For labels or merges
Miscellaneous Excel Combining Excel and Access.
Specification-Based Testing and the Category-Partition Method
Vi Editor.
Topics Introduction to File Input and Output
Number and String Operations
ADA Compliant Website & Documents
EndNote What is EndNote? EndNote Library, how to manage?
Stata Basic Course Lab 2.
Travel Expenses Tool Instruction Manual
Topics Introduction to File Input and Output
Microsoft Excel 2007 – Level 2
Presentation transcript:

Structured ASIC Xcellence Framescript A case study demonstrating the power of Framescript to automate the generation of a Data Book or Catalogue

Structured ASIC Xcellence Reference data u The reference data comes from a.txt file which is generated by a computer program. u This file is the equivalent of 7000 pages in either word or Framemaker.

Structured ASIC Xcellence Text file Note there is almost 1/2 million lines of text.

Structured ASIC Xcellence Modifying the reference file u This reference file contains information required for the databook but not necessarily in the proper form. u Raw data must be transformed into usable data by running a PERL script on the reference file. l Some information requires complex mathematical permutations of the raw data. This is done with the PERL Script.

Structured ASIC Xcellence Text File after the PERL Script

Structured ASIC Xcellence The Section in Blue The section in blue above is transformed into the data sheet…..

Structured ASIC Xcellence Finished Data Sheet

Structured ASIC Xcellence How long to turn into this?

Structured ASIC Xcellence What do you think? Manually, I would have to: Cut and paste the name from the text file Import a graphic Import a table Determine the size of the next three tables Create the tables Fill in the tables using the information in the text file

Structured ASIC Xcellence Finished Data Book is1700 Pages Long

Structured ASIC Xcellence Not 1 button u The results of the PERL script is a Preliminary input data file that I use as the input for my suite of scripts. (I did not write the PERL script.) u The complexity of the data required that I create a suite of scripts. This is not a one button operation. Although it is possible for a less complicated Data Book to be created with a one button process; and I will demonstrate that in a few minutes.

Structured ASIC Xcellence Breaking down the Preliminary file u The preliminary file is very large. I was afraid that data would misalign and mismatch the the specifications to the wrong data sheet. I used a system that created a specifications file and a datasheet file for each object to isolate each object and each objects specifications. In this way I reduced the possibility of inputting the wrong data items.

Structured ASIC Xcellence Open the text file in FM

Structured ASIC Xcellence And Turn it into a Specifications File

Structured ASIC Xcellence Next I make a Data Sheet

Structured ASIC Xcellence Each data sheet has: u A name in Heading 3 format u A description of the object u A graphic of the object l All graphics are created in visio and saved as WMFs in a specific folder u Up to 5 tables; each table getting the cell data from the Specifications file.

Structured ASIC Xcellence Flow for creating a Data Book

Structured ASIC Xcellence Script 1 Generating Specification files u This script takes the preliminary file and searches for a specific phrase that precedes each name then, u opens a new document file that will contain the relevant data for a single object in the data book Each object has a uniquely named specification file

Structured ASIC Xcellence Script 1 Contd u Copies each line of the preliminary file one line at a time into the new single object (specifications) doc file. u When it finds the next name it saves and closes the single object (specifications) file using the name as the filename.

Structured ASIC Xcellence All of the specification files are : u Unique and have a unique name u saved to a specified Path in a specific folder

Structured ASIC Xcellence Script 2 u This script runs through the preliminary file and copies and pastes only the paragraph containing the object name. u It then removes all of the text in the paragraph except for the object name. u The script saves and closes the file. The resulting file is a list of all of the Object names.

Structured ASIC Xcellence Cell names File

Structured ASIC Xcellence Script 3 This script: u opens the Object names file u opens a new document using a predefined template u copies the first name from the Object names file u opens the corresponding specifications file

Structured ASIC Xcellence Script 3 continued u The script runs through the specifications file and l Gives each data item a unique variable name l Counts the number of columns for each table l Counts the number of rows for each table Table 1 Table 2 Table 3

Structured ASIC Xcellence Script 3 continued Once all of the information is acquired for the identified Object the script u copies the object name to the first paragraph of the new document l Formats the paragraph to Heading 3

Structured ASIC Xcellence Script 3 continued u Runs a description subroutine l Inserts the results of the subroutine in paragraph 2 of the document. u Inserts the correct graphic (as identified using the object name (this uses another subroutine)) from the graphics folder.

Structured ASIC Xcellence Script 3 continued u Inserts the first table (this table is not created by the script but inserted into the doc from another folder using another subroutine) Everything is controlled by the object name. u Inserts 3, 4 or 5 blank tables (according to the object and the specifications required for the Data Book). u Each table has a name and table format.

Structured ASIC Xcellence Script 3 continued u The second table is inserted with the exact number of columns and rows required by the specifications file. Some Specifications files have more data than the data sheets require and will sometimes add extra rows. For these instances I have a Tweaking script to remove extra empty table rows.

Structured ASIC Xcellence Script 3 continued u The table is then filled in using: l the data l the unique variable names l corresponding values for each variable u The Generated Data Sheet is saved and closed to a folder again using the object name. u The specifications file is closed without saving (this file was not changed).

Structured ASIC Xcellence Single Data Sheet

Structured ASIC Xcellence Script 3 continued u This whole procedure is repeated for each object name. u In my case one data book had 1200 data sheets and a second had 1500.

Structured ASIC Xcellence Data Books u Sometimes the data items change and the data book needs to be regenerated.

Structured ASIC Xcellence All of the Data Sheet files are : u Unique and have a unique name u saved to a specified Path in a specific folder

Structured ASIC Xcellence Script 4 u This script concatenates the individual data sheets into a larger file identified by category of object. u These concatenated files become files in the book file. u I have 10 to 20 files in the book. This includes general information aside from the datasheets.

Structured ASIC Xcellence Book File

Structured ASIC Xcellence Tweaking I have about 5 or 6 scripts that tweak the concatenated files. They: u remove empty paragraphs u remove empty table rows u Set column widths for each table

Structured ASIC Xcellence Global Find and Replace u A lot of tweaking is done using global find and replace to remove excess characters.

Structured ASIC Xcellence u If a conservative estimate to produce a singe data sheet is 30 minutes then u 1600 * 0.5 Hrs = 800 hrs. or about 16 weeks for 1 writer. u I can run my scripts and tweak the results within one week.

Structured ASIC Xcellence Accuracy The scripts increase accuracy of the data book by removing the human error caused by hours of tedious cutting and pasting.

Structured ASIC Xcellence Demonstration u Let's see it work on a small scale; 10 data sheets

Structured ASIC Xcellence Tips for Framescript

Structured ASIC Xcellence Find String u This command searches for any string u This command cannot search using wildcards.

Structured ASIC Xcellence Find FromTextLoc u The wildcard can only be used with this command. u Warning l This command will find strings or wildcards but it returns the range of the paragraph. The pgf may be the first Pgf in Flow,but this find command jumps to the range where the object is found but the paragraph (cursor location) does not change. The loop only moves one Pgf at a time even though the find range may be at the end of the Doc.

Structured ASIC Xcellence Find InRange u Find InRange or InObject cannot search using wildcards.

Structured ASIC Xcellence Error u Not enough rows or columns in table. l If there are more cell items than either rows or columns you will get an error for the line of the New Text command. l Look for the problem in the New Table command where you specify the number of columns and the number of rows.

Structured ASIC Xcellence Remember the cursor u The cursor does not move when the script changes the paragraph.

Structured ASIC Xcellence Dont forget field codes! u Field codes let you move the cursor location. I use them in my concatenate script. They look like this: Execute FC HighFlow;

Structured ASIC Xcellence Apostrophes can be trouble u New Pgf PrevObject(vPgf) NewVar(vPgf) Text(The second paragraph.); This line was copied from Framescript A Crash Course The smart quotes were not understood when I ran my script and inserted 0 I changed the apostrophe to ' and the script worked fine. u New Pgf PrevObject(vPgf) NewVar(vPgf) Text(' The second paragraph.');

Structured ASIC Xcellence Dont forget to reset variables to 0 u When you create a variable and assign a value to it remember at some point in your script you will want to reset the variable to 0 so in the next iteration of the loop the script will not use an old value.

Structured ASIC Xcellence Framescript editors u The editor I used was only good for about 1000 lines of code then it hung up. u I downloaded a free script editor from the internet.

Structured ASIC Xcellence Questions???