0

I am writing an Advanced Scripting voice command in Dragon NaturallySpeaking Professional 11.5 to write SQL commands by voice. Regarding the ORDER BY variable_name ASC command, I would like to move cursor right before ASC:

Sub Main
    Clipboard(" ORDER BY  ASC ")
    SendKeys "^v"
End Sub

How can I do so efficiently as in the built-in double quotes command?

Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501

1 Answers1

-1

Add some arrow keys right after ^v:

Sub Main
    Clipboard(" ORDER BY  ASC ")
    SendKeys "^v^{LEFT}{LEFT}"
End Sub
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501