A script: what’s that thing ? A sort of language to tell Eye and Pen what he has to do, like a recipe: now do this, then do that, etc.  It allows to use.

Slides:



Advertisements
Similar presentations
Assistive Technology Training Online (ATTO) University at Buffalo – The State University of New York USDE# H324M Write:Outloud.
Advertisements

Prof. Yitzchak Rosenthal
Eye and Pen currently support: EyelinkII, Eyelink 1000 (S.R. research, Ltd.) i-ViewX HED (SensoMotoric Instruments GmbH, S.M.I.) ASL 504 (Applied Science.
Windows Basics An Introduction to the Windows Operating System.
More script commands (3) [Eye and Pen v2] 10. Looping 11. List LoopIfLabelIsBelow LoadList RandomizeList RandomizeListRange ResetList 12. keywords %L%
3. Playing a stimulus 4. Waiting for an event2. Start / stop recording DisplayPic / HidePicture PlaySound / StopSound DisplayMsg / HideMessage WaitForKeyPress.
MS-Word XP Lesson 2. Page Setup & Margins 1.Click on file menu 2.Click on page set up menu item 3.Select margins tab sheet (default activated) 4.Type.
Script commands (2) SetPencolor SaveScreenToBmp [ V2 ] 6. Eyetracker control TestDrift 7. Jump Label JumpTo JumpToIfLabelIs 9. keywords %I% %S% [ V2 ]
10-12 April 2012, Mshs, University of Poitiers, France.
Automate tasks: EPKeys April 2012, Mshs, University of Poitiers, France EPKeys is a keyboard key presses simulator designed to have Eye and Pen repeat.
Objectives © Paradigm Publishing, Inc. 1 Objectives.
EXCEL Spreadsheet Basics
1 Introduction to Word Chapter 3 Lecture Outline.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. How to Create Web Pages Using HTML Introduction.
Assistive Technology Training Online (ATTO) University at Buffalo – The State University of New York USDE# H324M IntelliTools.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 1 1 Microsoft Office Word 2003 Tutorial 1 – Creating a Document.
Introduction to Spreadsheets Presented by Frank H. Osborne, Ph. D. © 2005 Bio 2900 Computer Applications in Biology.
XP 1 Microsoft Office Word 2003 Tutorial 1 – Creating a Document.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Pre-workshop session Poitiers, july 1 st 2015 Pre-workshop session Poitiers, july 1 st 2015.
1. Menu File | Acquisition | Simple 2. Type in a name for the participant 3. Click on the ”Go” button to start recording Ticking this box will prevent.
Frame origin: coordinates 0, 0 How a tablet works April 2012, Mshs, University of Poitiers, France.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
Pre-workshop session Poitiers, july 1 st 2015 Pre-workshop session Poitiers, july 1 st 2015.
NetSync: script-based acquistion managed in a network environment NetSync was devised to solve a simple problem: how to manage an experiment with two or.
Introduction to VBA. This is not Introduction to Excel We’re going to assume you have a basic level of familiarity with Excel If you don’t, or you need.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Word Processing basics
Microsoft Office Word 2003 Tutorial 1 Creating a Document.
Key Applications Module Lesson 19 — PowerPoint Essentials
CIS—100 Chapter 9—PowerPoint 1. The PowerPoint User Interface 2 There is a tall band across the screen that contains many, very visual commands arranged.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
CTS130 Spreadsheet Lesson 3 Using Editing and Formatting Tools.
Microsoft Excel By: Dr. K.V. Vishwanath Professor, Dept. of C.S.E,
PowerPoint Basics (for Macs) 1. Before you start your project, you need: Completed project storyboard. Files with images, sound, or video already saved.
IE 411/511: Visual Programming for Industrial Applications
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
XP 1 Microsoft Word 2002 Tutorial 1 – Creating a Document.
Microsoft Word 2000 Presentation 2 Microsoft Word Topics  Tools –Spelling/Grammar Check –Thesaurus –AutoCorrect –Word Count –Change Case –Background.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
CPS120: Introduction to Computer Science Compiling Your Programs Using Visual C++
| | Tel: | | Computer Training & Personal Development PowerPoint 2002 Foundation.
Productivity Programs Common Features and Commands.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Mel & Hot Keys Review. What’s MEL?  Maya Embedded Language  Most of Maya's interface is built using MEL commands and scripts.
How to Create a Document in Google Drive By Tressa Beckler.
Microsoft Office XP Illustrated Introductory, Enhanced Started with Windows 2000 Getting.
Unit B. Setting preferences and defaults You can use the Preferences dialog box to customize the Quark working environment so it suits your style. With.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Lesson 10 Word Processing Unit 2—Using the Computer.
1 1.Enter User Name 2.Enter Password 3.Select Language. Default is English 4.Click Login
Test Automation For Web-Based Applications Portnov Computer School 1 Selenium HP Web Test Tool Training.
Microsoft Word. OPENING MICROSOFT WORD Click Start button Point to Programs Click Microsoft Office then Microsoft Word 2007.
In a number of script commands, you will have to mention filenames (pictures, etc.). For a picture, Eye and Pen will search in the “stimuli” folder. This.
To gain an overview of the session, the session log file (.LOG) contains the time when each event occurs. The session has its own timer, where “hour zero"
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Groups of cells labeled with letters that go up and down (vertical)
Script commands by category 1. Files and directories Start and stop data recording, set script default directories for pictures and data. A quick preview…
1. Using word you can create the document and edit them later, as and when required,by adding more text, modifying the existing text, deleting/moving.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Word processing is the software package that enables you to create,edit, print and save documents for future retrieval reference. creating a document.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Microsoft Word 2000 Presentation 3 Microsoft Word Topics Wizards –Letters –Envelopes and Labels Quick Navigation of Documents –Keyboard short-cuts Editing.
Tutorial 1 – Creating a Document
Running a Java Program using Blue Jay.
Presentation transcript:

A script: what’s that thing ? A sort of language to tell Eye and Pen what he has to do, like a recipe: now do this, then do that, etc.  It allows to use functionalities with a few words (“command language”). No need to learn a full featured programming language.  It allows to give more control over an acquisition than Simple. More sophisticated experiments can be set up.  A command example: DisplayPic(Instruction.bmp,5000,0,0) Translation: display a picture called “Instruction.bmp” for 5000 milliseconds at location 0,0 (X and Y coordinates on screen) April 2012, Mshs, University of Poitiers, France

What does it look like ? Lines of text in Windows NotePad. Each line “hosts” a command (or nothing). The same script opened in Eye and Pen’s Script Editor April 2012, Mshs, University of Poitiers, France

Eye and Pen’s Script editor is a facility, but a script can be edited into Windows Notepad or any other kind of text editor. The only requirement is to save script as text only (“ANSI” encoding) file. Figure: Windows Notepad “Save as” April 2012, Mshs, University of Poitiers, France

The script interpretor isn’t “case sensitive”: upper- and lower-case letters are the same to it. When a scripted acquisition is started, Eye and Pen’s script interpretor reads the script, line by line, and does what the command he reads tells him to do. A script: how does it work ? During an acquisition:  Pressing the F12 key of the keyboard ends the script.  Pressing the ESC key of the keyboard ends the current task in script (commands that require a specific action to terminate) April 2012, Mshs, University of Poitiers, France

Script preferences (menu Configuration | Acquisition | Script) Stimuli will be taken in this folder Default folders for scripted acquisition Recordings will be saved here Scripts will be taken in this folder (NetSync) Click here to select the whole screen size Default values for commands using text display A default zone on the tablet. All default values defined here can be overwritten using script commands. Click here to select font Click here to select text background color Click here to select the area on the tablet April 2012, Mshs, University of Poitiers, France

Eye and Pen’s script editor (menu File | Script editor) Script editor is an enhanced text editor performing syntax highlighting April 2012, Mshs, University of Poitiers, France

Classic edition menu: cut, paste, etc. First sight on the menus April 2012, Mshs, University of Poitiers, France

Script commands (sorted by category). For each command name, a dialog box helps to set options and insert the resulting command into the script April 2012, Mshs, University of Poitiers, France

Script checking tools: - “Check syntax” performs an automatic syntax verification. - “Execution test” checks that all the elements involved in the script (syntax, stimuli files, etc.) are ready. Script checking tools: - “Check syntax” performs an automatic syntax verification. - “Execution test” checks that all the elements involved in the script (syntax, stimuli files, etc.) are ready April 2012, Mshs, University of Poitiers, France

Script help April 2012, Mshs, University of Poitiers, France

In dark blue: a command In blue between brackets: a command’s parameters (options) In green: a comment (ignored by script interpretor). Always begins with a semi-colon. In dark cyan: a label (a “flag” in script). Begins with “:” followed by a single word A script is colored April 2012, Mshs, University of Poitiers, France