9.0
279
4 third (middle) button
Example
This instruction positions the mouse pointer in the last RememberPoint location, presses the right mouse button,
and then drags the pointer to the current pointer position.
DragToPoint 2
Notes
DragtoPoint will have no effect if the RememberPoint command has not been used earlier in the script.
This command does not work if you hold down any modifier keys (SHIFT, CTRL, ALT) when you run it.
The DragToPoint command works only in applications that support dragging.
GetState
Returns the name of the active Structured State. The state of the commands are specified during their creation, so
that at runtime, the groups of commands may be activated or deactivated using the SetState
scripting command
or the ActiveState property of the DgnEngineControl object in the MyCommands Advanced Scripting editor
.
Syntax
GetState() As String
The GetState function returns the string containing the name of the active state. If there is no state active, the
returned value is an empty string.
GoToSleep
Activates sleep mode and the voice commands available for this state. The sleep mode vocabulary typically
includes only the Wake Up command.
Syntax
GoToSleep
Arguments
This command does not have any arguments.
HeardWord
Causes Dragon NaturallySpeaking to behave as if the specified word, word sequence, or voice command were
received by the recognizer. You can use HeardWord to create a command that executes a series of other
commands or that has the same function as an existing command but a different name.










