Speech Recognition Reference v.2.0 Relative to: NaturallySpeaking Versions 4.0 and above |
||||||||||||||||||
Visual Basic References (versions 6.1 and above) Parameters
(lists) and Variables Dragon Scripting References (Legacy DVC commands - versions
6.0 and below) |
||||||||||||||||||
NaturallySpeaking 6.1 and Higher VB Commands |
||||||||||||||||||
Dragon Commands |
||||||||||||||||||
Visual Basic Reference VB: SendKeys Statement
The SendKeys statement syntax has these named arguments:
Remarks To represent ABC abc 123 use "ABC abc 123" for "string". The plus sign (+), caret (^), percent sign (%), tilde (~), and parentheses ( ) are considered special characters. To specify one of these characters, enclose it within braces ({}). For example, to specify the plus sign, use {+}. Brackets ([ ]) have no special meaning to SendKeys, but you must enclose them in braces. In other applications, brackets do have a special meaning that may be significant when dynamic data exchange (DDE) occurs. To specify brace characters, use {{} and {}}. To specify non printing keys such as ENTER or TAB, and function keys:
To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following codes:
Combination Keys: To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, enclose the code for those keys in parentheses. For example, to hold down SHIFT while E and C are pressed, use "+(ec)". To specify to hold down SHIFT while E is pressed, followed by C without SHIFT, use "+ec". Repeating Keys: To specify repeating keys, use the form {key number}. You must put a space between key and number. For example, {LEFT 25} means press the LEFT ARROW key 25 times; {h 15} means press the H key 15 times. Note: You can't use SendKeys to send keystrokes to an application that is not designed to run in Microsoft Windows. SendKeys also can not send the PRINT SCREEN key {PRTSC} to any application. VB: Wait Statement
The Wait statement syntax has these named arguments:
Remarks none VB: SendDragonKeys Statement
SetMousePosition 1, 200, 500
Places the mouse 200 pixels from the left and 500 pixels from the top
of the current window.
b = button to click: 1 for Left
Button (default), 2 for Right Button, 3 for Middle Button
n = number of clicks: 1 for single click (default), 2 for double click
ButtonClick 1, 2
Double clicks the Left mouse button.
AppActivate
"Microsoft Excel" Switches windows focus to the window
that begins with "Microsoft Excel"
|
||||||||||||||||||
Flow Control - Control Blocks |
||||||||||||||||||
if block& = 0 then block& = val(ListVar1)Select Case expr [Case caseexpr[, ...] statements]... [Case Else statements] End Select
|
||||||||||||||||||
Advanced Dragon/VB Commands |
||||||||||||||||||
Lc% = Instr(ListVar1,"\") - 1 Diagnostic Example: Test List <list_items> ' (c) 2003 EXAQ Micro Services, all rights reserved
|
||||||||||||||||||
Sounds |
||||||||||||||||||
|
PlaySound
"C:\WINNT\Media\start.wav" |
|||||||||||||||||
|
PlaySound
"C:\WINNT\Media\start.wav" |
|||||||||||||||||
© 2003-2009 EXAQ Micro Services,
Sacramento,
California |
||||||||||||||||||
NaturallySpeaking 6.0 and Lower VB commands |
||||||||||||||||||
DNS: SendKeys Statement
The SendKeys statement syntax has these named arguments:
Remarks To represent ABC abc 123 use "ABC abc 123" for string. To specify non printing keys such as ENTER or TAB, and function keys:
To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys, enclose the key in braces {} and precede the key code with one or more of the following codes:
Repeating Keys: To specify repeating keys, use the form {key number}. You must put a space between key and number. For example, {LEFT 42} means press the LEFT ARROW key 42 times; {h 10} means press H 10 times. Note: You can't use SendKeys to send keystrokes to an application that is not designed to run in Microsoft Windows. SendKeys also can't send the PRINT SCREEN key {PRTSC} to any application. DNS: Wait Statement
The Wait statement syntax has these named arguments:
Remarks none |
||||||||||||||||||
© 2003-2009 EXAQ Micro Services,
Sacramento,
California |
Ver
|
Date |
Description |
2.0 |
03/6/09 |
|
1.5 |
01/27/09 |
|
1.0 |
2000-2008 |
|