2017-06-28 2 views
0

ドラゴンNaturallySpeakingの高度なスクリプトで正しいウィンドウキーを送信するにはどうすればよいですか? What is the difference between the commands SendKeys, SendSystemKeys or SendDragonKeys?を見るとドラゴンNaturallySpeakingの高度なスクリプトで正しいウィンドウキーを送信するにはどうしたらいいですか?

enter image description here

それはSendKeysSendSystemKeysまたはSendDragonKeysで可能ていないようです。

答えて

0

キー右の窓を押す:

' From https://knowbrainer.com/forums/forum/messageview.cfm?catid=3&threadid=3032 
' Author: monkey8 
' Tested with Dragon NaturallySpeaking 12.5 with Windows 7 SP1 x64 Ultimate 
Declare Function keybd_event Lib "user32.dll" (ByVal vKey As _ 
Long, bScan As Long, ByVal Flag As Long, ByVal exInfo As Long) As Long 
Const VK_RWIN = 92 
Sub Main 
keybd_event(VK_RWIN,0,0,0) 
'if you want to send a key while holding down the Windows key then insert the code here 
keybd_event(VK_RWIN,0,2,0) 
End Sub 

キー左ウィンドウを押す:キーボードコードについて

' From https://knowbrainer.com/forums/forum/messageview.cfm?catid=3&threadid=3032 
' Author: monkey8 
' Tested with Dragon NaturallySpeaking 12.5 with Windows 7 SP1 x64 Ultimate 
Declare Function keybd_event Lib "user32.dll" (ByVal vKey As _ 
Long, bScan As Long, ByVal Flag As Long, ByVal exInfo As Long) As Long 
Const VK_LWIN = 91 
Sub Main 
keybd_event(VK_LWIN,0,0,0) 
'if you want to send a key while holding down the Windows key then insert the code here 
keybd_event(VK_LWIN,0,2,0) 
End Sub 

有用参照:List of Virtual Key Codesmirror

関連する問題