按键精灵代码设按键3和连续三次回车键,并后台运行
发布网友
发布时间:2024-10-16 02:21
我来回答
共2个回答
热心网友
时间:2024-10-16 02:17
Hwnd = Plugin.Window.GetKeyFocusWnd()
While 1
Call Plugin.Bkgnd.KeyPress(hwnd, 51)
Delay 100
Call Plugin.Bkgnd.KeyPress(hwnd, 13)
Delay 100
Call Plugin.Bkgnd.KeyPress(hwnd, 13)
Delay 100
Call Plugin.Bkgnd.KeyPress(hwnd, 13)
Wend
热心网友
时间:2024-10-16 02:17
a = WaitKey
b= WaitKey
c = WaitKey
d = WaitKey
If a = 51 Then
If b = 13 Then
If c = 13 Then
If d = 13 Then
MessageBox "跳入后台"
End If
End If
End If
End If