我正在尝试使用 Dragon NaturallySpeaking 的高级脚本编写一个脚本,该脚本可以发送键盘组合RWIN++shift以left将选定的窗口移动到左侧的监视器。
RWIN对应右windows键:
我试过了:
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)
Wait(.2)
SendKeys "+({Left})"
Wait(.2)
keybd_event(VK_RWIN,0,2,0)
End Sub
但这会发送shift+left后跟RWIN.