Creating macros (custom commands) for Dragon NaturallySpeaking Preferred and Professional versions 7,8,9,10&11



Similar documents
Mouse and Keyboard Skills

Getting Started on the Computer With Mouseaerobics! Windows XP

Windows XP Pro: Basics 1

Automate tasks with Visual Basic macros

set in Options). Returns the cursor to its position prior to the Correct command.

Handout: Word 2010 Tips and Shortcuts

Internet Explorer 7. Getting Started The Internet Explorer Window. Tabs NEW! Working with the Tab Row. Microsoft QUICK Source

Getting Started Guide. Chapter 14 Customizing LibreOffice

Word 2010: The Basics Table of Contents THE WORD 2010 WINDOW... 2 SET UP A DOCUMENT... 3 INTRODUCING BACKSTAGE... 3 CREATE A NEW DOCUMENT...

KEYBOARD SHORTCUTS. Note: Keyboard shortcuts may be different for the same icon depending upon the SAP screen you are in.

Windows, Menus, and Universal Document Shortcuts

Outlook . User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA

Windows XP Introduction Revised November 2004

ZoomText Hotkeys. AppReader and DocReader Hotkeys (Magnifier/Reader only)

OUTLOOK WEB APP (OWA): MAIL

VMware Horizon FLEX User Guide

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.

Evoluent Mouse Manager for Windows. Download the free driver at evoluent.com. The primary benefits of the Mouse Manager are:

Using PowerPoint Short Course

USER INTERFACE HOTKEYS WEB FINDER HOTKEYS. Shortcut Keys and Hot Keys: ZoomText 10 Magnifier/Reader

Word basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Windows 8.1 User Guide

Basics. a. Click the arrow to the right of the Options button, and then click Bcc.

No restrictions are placed upon the use of this list. Please notify us of any errors or omissions, thank you,

Introduction to Word 2007

GroupWise to MS Outlook 2007

2010 Ing. Punzenberger COPA-DATA GmbH. All rights reserved.

Welcome to CSU The Software Used To Data Conference.

Introduction to MS WINDOWS XP

Access 2013 Keyboard Shortcuts

SMALL BUSINESS ACCOUNTING. User Guide

TYPING IN ARABIC (WINDOWS XP)

Sanako Study 1200 USER GUIDE

Microsoft Powerpoint 2007 Keyboard Shortcuts

1. Click the File tab 2. Click "Options" 3. Click "Save" 4. In the line labeled "Default file location", browse to the desired folder 5.

SnagIt Add-Ins User Guide

Division of School Facilities OUTLOOK WEB ACCESS

The Keyboard One of the first peripherals to be used with a computer and is still the primary input device for text and numbers.

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

Styles, Tables of Contents, and Tables of Authorities in Microsoft Word 2010

Microsoft Excel Understanding the Basics

Excel macros made easy

IT Quick Reference Guides Using Windows 7

Windows 2000 Keyboard Shortcuts

Microsoft Word Track Changes

Capture desktop image to Clipboard. Display contextual Help Window. Rename.

Exercise 4 - Practice Creating Text Documents Using WordPad

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Making Your Computer Work for You Tips for Windows 7, Laptops, Internet Explorer, MS Office and Adobe Acrobat

Faculty & Staff Guide for Outlook Web App (OWA) Prepared by Information Technology Division Lehman College July 11, 2013

WORDPAD TUTORIAL WINDOWS 7

Module One: Getting Started Opening Outlook Setting Up Outlook for the First Time Understanding the Interface...

Macros in Word & Excel

Reviewing documents with track changes in Word 2013

Microsoft Excel 2010 Tutorial

Microsoft Dynamics CRM 4.0 User s Guide

Outlook Operating Instructions. Internal Desktop Access

O UTLOOK 2003 HELP SHEET MAIL. Opening the program. Mail

Computer Basics: Tackling the mouse, keyboard, and using Windows

OFFICE KEYBOARD (MT1210 & MT1405) OFFICE FEATURES

Basics of MS Word :: 137

AODA Mouse Pointer Visibility

Choosing your Preferred Colours in Windows

How to test and debug an ASP.NET application

PowerPoint 2013: Basic Skills

MS Word 2007 practical notes

Windows 95. 2a. Place the pointer on Programs. Move the pointer horizontally to the right into the next window.

Microsoft PowerPoint 2010

Book Builder Training Materials Using Book Builder September 2014

TeamViewer & DynGate Manual V 2.0

Create a Simple Website. Intel Easy Steps Intel Corporation All rights reserved.

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

How To Manage A Project In Project Management Central

Table of Contents. Introduction Opening A Demo Account Overview Market Watch (Quotes Window) Charts Navigator

Integrated Invoicing and Debt Management System for Mac OS X

PaperPort Getting Started Guide

Data Warehouse Troubleshooting Tips

Keyboard Shortcuts Instead of the Mouse NOTES

Excel 2007 Introduction to Macros

Philips 9600 DPM Setup Guide for Dragon

Migrating to Excel 2010 from Excel Excel - Microsoft Office 1 of 1

Creating a Simple Visual C++ Program

Hands-on Practice. Hands-on Practice. Learning Topics

Folder Management in Outlook for Macintosh

Outlook Web Access (OWA) Cheat Sheet

Clip Art in Office 2000

A Guide to Using Banner

NYS OCFS CMS Contractor Manual

Microsoft Word Level 3

Backup Assistant. User Guide. NEC NEC Unified Solutions, Inc. March 2008 NDA-30282, Revision 6

Education Solutions Development, Inc. APECS Navigation: Business Systems Getting Started Reference Guide

Content Author's Reference and Cookbook

MICROSOFT OUTLOOK 2010

Windows Movie Maker 2012

Using a Digital Recorder with Dragon NaturallySpeaking

Copyright 2008 Software Technology, Inc Cushman Drive Lincoln, NE (402)

GETTING STARTED TABLE OF CONTENTS

Create Mailing Labels from an Electronic File

Transcription:

Creating macros (custom commands) for Dragon NaturallySpeaking Preferred and Professional versions 7,8,9,10&11 This manual is intended for use as an aid to support face-to-face training. You might not be able to follow everything in this manual without additional training. Revised 10 April 2011

What is a macro?... 1 What kind of macro to use?... 1 What is it you want to do?... 1 Use this kind of macro... 1 Text macros preferred and professional editions... 2 Step by Step macros professional edition only... 4 Macros to move the mouse pointer and click professional edition only... 7 Method 1: "Show Mouse Position" (recommended method)... 7 Method 2: Macro recorder... 9 Advanced scripting macros professional edition only... 10 Note on compact keyboards... 13 Command Browser... 14 To find a macro... 14 To import macros... 15 To delete a macro... 15 Troubleshooting what to do if your macro doesn't work... 16 Keyboard shortcuts... 16 For more information and help with writing macros... 17 Revised 10 April 2011

What is a macro? Macros are commands that you create yourself, as opposed to built-in commands that are provided with the software. The terms macro and custom command are used interchangeably. Macros enable you to do more tasks by voice, and also to work more efficiently by voice. What kind of macro to use? What is it you want to do? Use this kind of macro Preferred and Professional editions Produce text and/or graphics only Text and Graphics Professional edition only Deploy non-printing ( action ) keys or combination of printing and nonprinting keys eg TAB, DEL, ENTER or CTRL+P, ALT+S Step-by-Step OR Advanced Scripting Deploy the system key combinations Alt+Tab, Ctrl+Esc Advanced Scripting (use SendSystemKeys) Move the mouse pointer and click Move the mouse, click and deploy keystrokes Show Mouse Position OR Macro Recorder Advanced Scripting (including Show Mouse Position) OR Macro Recorder - 1 -

Text macros preferred and professional editions 1. Prepare the text in Microsoft Word or DragonPad 2. Select and copy the text (say Select all" then "copy that") 3. Say Add New Command 4. Name the macro 5. Availability consider whether your macro should be global so it will work in any application, or applicationspecific, e.g. Microsoft Word or Outlook. If you choose application-specific, that application must be open when you create the macro. 6. To make a macro application-specific say APPLICATION SPECIFIC then "APPLICATION" and ensure the appropriate application is selected from the drop-down list (say Drop List then MOVE DOWN 3" etc to navigate the list). 7. Say Content to move the cursor to that field, then Paste That " 8. Say Plain text if you want the font to adapt to surrounding font 9. Say "click save" Shortcut method using the command "make that a shortcut" 1. Prepare the text in Microsoft Word or DragonPad 2. Select the text (say eg "select all" or "select line" or "select paragraph") 3. Say "Make that a shortcut". The MyCommands Editor should appear with the text already copied in. 4. Name the macro 5. Availability consider whether your macro should be global so it will work in any application, or applicationspecific, e.g. Microsoft Word or Outlook. If you choose application-specific, that application must be open when you create the macro. 6. To make a macro application-specific say APPLICATION SPECIFIC then "APPLICATION" and ensure the appropriate application is selected from the drop-down list (say Drop List then MOVE DOWN 3" etc to navigate the list). 7. Say Plain text if you want the font to adapt to surrounding font 8. Say "click save" Note: If the "make that a shortcut command doesn't work in Microsoft Word, in Word 2003 go to Word Tools menu/options/ edit and uncheck smart cut and paste. Close and reopen Microsoft Word. If the command still doesn't work after unchecking smart cut and paste, consider working in Dragon pad (say "Open Dragon pad"). - 2 -

Example: create a signature block or sign off : 1. In a Word document, dictate the text for your macro e.g. name, title, section and Employer, tel no etc. 2. Say select all then Copy that 3. say "ADD NEW COMMAND or go to Dragon bar / tools / add new command. 4. give your macro a name, eg "sign off". You can call the macro whatever you like. Choose a name that is easy for Dragon to recognise and easy for you to remember. It can be a good idea to use the same prefix for all your text macros for example insert signature, "insert finance paragraph". Avoid phrases you are likely to use in other circumstances. 5. Availability consider whether your macro should be global or application-specific. 6. Say "content" to move the cursor to that field, then "paste that" 7. Say CLICK SAVE 8. Try your new macro in Word by saying SIGN OFF - 3 -

Step by Step macros professional edition only 1. Plot the steps you want the macro to do 2. Say Add New Command 3. Name the macro 4. Availability consider whether your macro should be global so it will work in any application, or applicationspecific, e.g. Microsoft Word or Outlook. If you choose application-specific, that application must be open when you create the macro. 5. To make a macro application-specific say APPLICATION SPECIFIC then "APPLICATION" and ensure the appropriate application is selected from the drop-down list (say Drop List then MOVE DOWN 3" etc to navigate the list). 6. Say Command Type" then Move down 2 to choose " Step by Step " from the drop-down list 7. The New Step drop down list: a. The default is Keystrokes, which should be used for non-printing keys, ie action keys such as Enter, Delete, Tab etc, or for combinations of nonprinting in printing keys e.g. CTRL+S. Keystrokes can also be used for typing 1 letter or number. b. if you need Dragon to type more than one letter or number, select Type Text' from the New Step dropdown list. c. Select Wait if you need to slow the macro down to ensure that the macro doesn't run faster than the computer can keep up. 8. For each step, click Insert then press the keys by hand, then press Enter 9. Click Save 10. Don't forget to add the macro to your list of macros - 4 -

Example 1: create a Next Document macro. This macro will allow you to cycle through open Word or Excel documents by voice. 1. Plot the steps. The keyboard shortcut is: Ctrl+F6 2. Say "ADD NEW COMMAND 3. Name your macro Next Document. 4. Say COMMAND TYPE" then MOVE DOWN 2 to choose Step by Step from the drop down list 5. Say "CLICK INSERT to bring up the Send Keystrokes dialog, then turn the microphone off. 6. Type in the Ctrl and F6 keys together, by hand. 7. Press the Enter key by hand. 8. Turn the microphone on and say Click Save. 9. Try the macro in Microsoft Word or Excel by saying Next Document (assuming you have more than one document open). - 5 -

Example 2: Create a Logon macro, to log on to an application or website by voice Note: 1. Plot the steps, eg User or account name > Tab > password > Enter 2. Say "ADD NEW COMMAND 3. Name your macro eg Website logon 4. To make the macro application-specific say APPLICATION SPECIFIC then "APPLICATION" and ensure the appropriate application is selected from the drop-down list (say Drop List then MOVE DOWN 3" etc to navigate the list). The application must be open, otherwise it will not appear in the list. 5. Say COMMAND TYPE" then MOVE DOWN 2 to choose Step by Step from the drop down list 6. Say "New Step then Type T to select 'Type text' from the New Step drop-down list. 7. Say CLICK INSERT to bring up the Send Keystrokes dialog. By hand, type in the first step. It might be your user ID, or account number > Say OK 8. Say "New Step then Type K to select ' Keystrokes' from the New Step drop-down list 9. Say CLICK INSERT to bring up the Send Keystrokes dialog, then say Press Tab, then OK 10. Say "New Step then Type T to select 'Type Text' from the New Step drop-down list. By hand, type in the third step, eg your password, then say OK 11. Say "New Step then Type K to select ' Keystrokes' from the New Step drop-down list. Say Press Tab, then OK 12. Say Click Save There are obvious security implications associated with logging on to an application or website by voice. If you are concerned about security issues, you could create your macro using the first two steps only ie your user ID and Tab, then you could type your password by hand. - 6 -

Macros to move the mouse pointer and click professional edition only Method 1: "Show Mouse Position" (recommended method) To create Mouse Position macros you will need the "show Mouse Position" macro, available from Sue Woodward on request. 1. Plot the pixel coordinates 1.1. Move the mouse pointer over the target 1.2. Say "Show Mouse Position" 1.3. Say OK or Press Enter 2. Open the MyCommands Editor to create the macro 2.1. Say "Add New Command" or go to Dragon bar/tools/add new command 2.2. Give the macro a name 3. Availability decide whether the macro should be Global (default), or specific to a particular application 3.1. If you want the macro to work in more than one application, leave Availability as Global. 3.2. If you want the macro to be specific to a particular application, say Application Specific". If the appropriate application does not appear in the list, say Application to select the drop down list, then drop list or "show choices. To navigate the list, say "move down 3" etc then "Press Enter". The application must be open at the time. - 7 -

3.3. If you want the macro to be specific to a particular window in the application 1 (this is optional, and is not usually required), say "Window specific", and choose the appropriate window from the drop-down list. 4. Choose 'Advanced Scripting' from the 'command type' drop-down list 4.1. Say Command Type then Move down 3 to change the command type to Advanced Scripting. 5. Paste the script 5.1. Say Script, to move the cursor between Sub Main and End Sub, then "Paste That 5.2. Add a Wait of.2 of a second between the two lines of script (ie type in Wait.2 ). This will add a pause after moving the mouse pointer and before clicking, and will make the macro more reliable. 6. Save the macro 6.1. Say Click Save Your macro will look like this: To create other kinds of clicks, replace the last line of script with: For left double-click ButtonClick 1,2 For right click ButtonClick 2,1 1 You might want to make a macro specific to a particular window so you can for example have two macros that do different things in different windows but have the same name. - 8 -

Method 2: Macro recorder 1. Say add new command 2. Name macro 3. Say command type" and choose "macro recorder" from the drop-down list 4. Do the actions, mouse movements, clicks and or keystrokes 5. to stop recording, click the black square button on the Recorder toolbar (usually at bottom left of screen). 6. To return to the macro, click the X at top right of Recorder toolbar 7. Click Save - 9 -

Advanced scripting macros professional edition only 1. Plot the steps you want the macro to do 2. It can be a good idea to create the script in Microsoft Word. Use the macro writing macros 2 below to create the script by voice 3. Say Select All then Copy That to copy the script 4. Say Add New Command 5. Name the macro 6. Say Command Type" then Move down 3 to choose Advanced Scripting from the drop-down list 7. Say Script to move the cursor to that field, then "Paste That" 8. Click Save Note: The quotes in Microsoft Word are different from those in the MyCommands Editor and will not be accepted there. If you use the macro writing macros you will get the correct quotation marks. Use this script SendDragonKeys "text" SendDragonKeys "{Ctrl+P}" To do this action To type text Use curly brackets for non-printing keys or combination of printing and nonprinting keys HeardWord "go","to","sleep" Wait.5 SendSystemKeys "{Ctrl+Esc}" Use to refer to a command within a macro Wait.5 of 1 second Use for system key combinations Alt+Tab and Ctrl+Esc AppBringUp "H:\Dragon Information" Use to open a folder or document. For documents you will need to include the file extension. Macro writing macros Use these macros to create the script by voice (macros available on request from Sue Woodward) Say this Send Dragon keys SendDragonKeys with brackets Insert Wait point 2 Wait.2 Insert control plus Insert alt plus To write this script SendDragonKeys "text" SendDragonKeys "{text}" Ctrl+ Alt+ 2 For unknown reasons these macro writing macros do not always work in the MyCommands Editor. - 10 -

How to write the keynames Key Script ALT {Alt} BACKSPACE {BackSpace} BREAK {Break} CAPS LOCK {CapsLock} CENTER {Center} CONTROL {Ctrl} DEL {Del} DOWN ARROW {Down} END {End} ENTER {Enter} ESC {Esc} HELP {F1} HOME {Home} INS {Ins} PAUSE {Pause} PRINT SCREEN {Prtsc} RIGHT ARROW {Right} SCROLL LOCK {ScrollLock} SHIFT {Shift} SPACE {Space} SYS REQ {SysReq} TAB {Tab} MULTIPLE TABS {Tab 5} TAB BACKWARDS {Shift+Tab} UP ARROW {Up} F1, F2, F3,...F16 {F1},{F2},{F3},...{F16} LEFT ARROW {Left} NUM LOCK {NumLock}(extended keyboards only) PAGE DOWN {PgDn} PAGE UP {PgUp} - 11 -

Numeric keypad {NumKey/}, {NumKey*}, {NumKey-}{NumKey+} {NumKey0},...{NumKey9} {NumKey.}, {NumKeyEnter} (These codes are handled as if NUM LOCK were on) Example: create a "delete to end" macro (to delete text from cursor to end of line). 1. Copy the 3 lines of script below SendDragonKeys "{Shift+end}" 'To select from cursor to end of line Wait.2'wait.2 of 1 second SendDragonKeys "{Del}"'To delete selected text 2. Say Add new command 3. Say Command type, then move down three to select Advanced Scripting from the drop-down list. 4. Say Script to position the cursor between Sub Main and End Sub. 5. Say paste that 6. Say Save Notes: You can add descriptive text after a single quotation mark without affecting the script. Descriptive text will appear in green. You can also add comments in the description field to remind you of what the macro does - 12 -

Note on compact keyboards Say you want to write a macro using F11 key but your compact keyboard does not have an F11 key. You can use a symbolic or virtual' key stroke in your macro instead of a fixed, literal keystroke. Instead of writing the function as: SendDragonKeys "{F11}" Write it as: specialkey = {F11} SendDragonKeys specialkey - 13 -

Command Browser To find a macro 1. Say "Open the Command Browser" (V11) or Bring up Command Browser (Versions earlier than 11) 2. Say Manage then select All from the Group drop down list (it is usually selected by default) 3. Say Press Tab to move into the list of macros, grouped by application. 4. Select the appropriate folder by saying e.g. "Global" or "Microsoft Word". That is, if your macro is a global macro select the Global folder. If your macro is specific to Microsoft Word, select 'Microsoft Office word'. To navigate the list you can also say "move down 3" etc. 5. Expand the folder by saying "Move right 6. Select the macro in the list (say eg Type c to move to the first macro in the list beginning with that letter, or Move down 6 etc) 7. To open the macro for editing say To script then Edit ; OR to copy macro say To Script then New Copy 8. If you get lost in Command Browser say Manage 9. If you make changes don't forget to say "Click save" - 14 -

To import macros 1. Say "Open the Command Browser" (V11) or Bring up Command Browser (Versions earlier than 11) 2. "Manage"> "Import" > Browse to the macro file (.dat file) and select it > Open > Import 3. A macro file has file extension.dat, and could contain one or several macros 4. Dragon might warn that it will change the name of lists to avoid conflict with existing lists, click OK or Yes. 5. If you already have one or more of the macros that you are importing, Dragon will ask whether you want to overwrite existing commands with the imported macros. To avoid overwriting existing macros, click or say "No to all". Note: 6. Close Command Browser by saying "Close window" If you receive a macro file as an e-mail attachment, don't try to open it directly. Instead, save it to a different location, for example your desktop, then follow the instructions above to import. To delete a macro 1. follow the instructions above to select the macro in the list 2. Say Spacebar to check the square to the left of the macro 3. Say "click delete" - 15 -

Troubleshooting what to do if your macro doesn't work Look at the results box to see whether Dragon is recognising your command but not executing it, or failing to recognise it. If Dragon interprets what you have said as a command the results box will be outlined in blue. For recognition problems Train your pronunciation of the command name. To do this, find the macro in Command Browser. Hold the Ctrl key down while you say the command. This should force Dragon to recognise what you have said as a command rather than text. Remember that macros are commands, and require a pause before and after saying the command name. Don't pause in the middle of the command name. Change the name of the Macro to something more easily recognised. Availability When creating application-specific commands the application needs to be open (though it doesn't need to be open when modifying an application-specific command) Try making the command global rather than application-specific. Are you trying to use an application-specific macro in the wrong application? Other Insert Waits or try a longer Wait. Slow the macro down so you can see at which point it is failing. You can reduce the Waits later. Go through the steps on the keyboard make sure you have the steps right. If the steps don't work by hand on the keyboard they won't work by voice either. Are the keystroke steps always the same? The reliability of a macro depends on the steps always being the same. Try creating the macro in a different way, eg Step by Step instead of Advanced Scripting, or vice versa. Keyboard shortcuts You will need a good knowledge of keyboard shortcuts to create step-by-step and Advanced Scripting macros. Microsoft shortcuts http://www.microsoft.com/enable/products/keyboard.aspx?v=t Note that in Microsoft applications (earlier than Office 2007), keyboard shortcuts are indicated by an underlined letter 3, often working with the Alt key e.g. "press alt key f to access the file menu in Microsoft Word. Lotus Notes V8.5 shortcuts Press CTRL+SHIFT+L for a list of available shortcuts; also see http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=/com.ibm.notes85.help.doc/acc_shortcuts_st and_c.html HELP: search for keyboard shortcuts 3 If the underlined letter is not visible until you press the Alt Key, go to Control Panel/Display/Appearance/Effects, and uncheck Hide underlined letters for keyboard navigation until I press the Alt key. - 16 -

Look in Pull-down menus Refer to the lists of keyboard shortcuts provided in the course training materials. For more information and help with writing macros There is no official Dragon macro manual. The Dragon NaturallySpeaking manual: the Dragon 8 manual is useful only for simple macro writing (see Chapter 14) the Dragon 9 manual has no information on macros. There is some information in Dragon HELP Forums on the Internet For links to speech recognition Internet forums, see http://www.viva-voce.com.au/useful-links Yahoo group natpro-wp8 macro writing group (very technical, mostly writing in Visual Basic): http://groups.yahoo.com/ Other sources Larry V. Allen 2004 A Guide to Advanced Scripting for Dragon NaturallySpeaking 9, published by Softnet Systems, Inc. Available from: www.pcspeak.com. This manual is quite technical, pitched at programmers who write macros using Visual Basic. - 17 -