如何用keybd_event 模拟CTRL+C和CTRL+V
如何用keybd_event 模拟CTRL+C和CTRL+V --------------------编程问答-------------------- 使用SendKeys --------------------编程问答-------------------- 模拟Ctrl+C:keybd_event VK_Ctrl, 0, 0, 0 '按下Ctrl键
keybd_event VK_C, 0, 0, 0 '按下C键
Sleep 500 '延时500毫秒
keybd_event VK_C, 0, KEYEVENTF_KEYUP, 0 '释放C键
keybd_event VK_Ctrl, 0, KEYEVENTF_KEYUP, 0 '释放Ctrl键
补充:VB , 基础类