In the documentation for Dragon NaturallySpeaking Professional,
there is this example for SendKeys.

SendKeys "{Move 107,672}"

I simply cannot get the Move command to work.

Is there any way to neatly move the cursor using SendKeys?
I have a workaround using UpLeft since the user interface isn't
bothered by a mouse button up, but I'm really curious about the
apparently dysfunctional but included Move command.

Thank you.

Re: SendKeys "{Move 107,672}" ??? by Fosco

Fosco
Wed May 10 21:28:46 CDT 2006

"John Doe"
> Is there any way to neatly move the cursor using SendKeys?

NOT in pure VBscript .. autoit3 or autoitX (activeX) :

http://www.hiddensoft.com/autoit3/

autoit3 :
MouseMove(10, 100)
PS :
Mouse move NOT sendkeys >> move
but you can do a controlsend :

[code]
Run("notepad.exe")
sleep(500)
AutoItSetOption("WinTitleMatchMode", 4)
WinWaitActive( "Untitled - Notepad", "", 5 )
ControlFocus ( "Untitled - Notepad","" , "Edit1" )
send("hello")
sleep(500)
ControlSend ( "Untitled - Notepad", "","Edit1", "{left 4}")
sleep(1500)
$a = ControlCommand ( "Untitled - Notepad", "","Edit1","GetCurrentLine", "")
MsgBox(262144, "", $a)
ControlSend ( "Untitled - Notepad", "","Edit1", "{Right 3}")
sleep(1500)
$a = ControlCommand ( "Untitled - Notepad", "","Edit1","GetLine", 1)
MsgBox(262144, "", $a)
;ControlClick ( "Untitled - Notepad", "" , "Edit1","left" )

[/code]


or
SelectString", 'string' Sets selection according to string in a ListBox or ComboBox
"GetLine", line# Returns text at line # passed of an Edit
"GetSelected", "" Returns selected text of an Edit
"EditPaste", 'string' Pastes the 'string' at the Edit's caret position

ecc all in C:\Programmi\Autoit3\AutoIt3.chm >>>> ControlCommand

--
Fosco