按键精灵无限按组合键 我想按一下Ctrl 后面就按20下Ctrl+x 怎么设啊 我研究了半天也没研究明白啊求解啊

2024-12-31 02:06:38
推荐回答(2个)
回答1:

Do
k = WaitKey
If k = 17 Then
For 20
KeyDown 17, 1
KeyPress 88, 1
KeyUp 17, 1
Next
End If
Loop
希望对您有帮助。

回答2:

key = WaitKey
If key = 17 Then

KeyDown “ctrl”, 1
KeyPress “x”, 1
KeyUp "ctrl", 1

KeyDown “ctrl”, 1
KeyPress “x”, 1
KeyUp "ctrl", 1

KeyDown “ctrl”, 1
KeyPress “x”, 1
KeyUp "ctrl", 1

KeyDown “ctrl”, 1
KeyPress “x”, 1
KeyUp "ctrl", 1

KeyDown “ctrl”, 1
KeyPress “x”, 1
KeyUp "ctrl", 1

复制20边