使用keybd_event<br>這個API送出 Ctrl 與 V 兩鍵的組合. 就能夠把中英文字串放到Word<br>等軟件中, <br>keybd_event(VK_CONTROL, 0, 0, 0);<br>keybd_event(Ord('v'), 0, 0, 0);<br>keybd_event(Ord('v'), 0, KEYEVENTF_KEYUP, 0);<br>keybd_event(VK_CONTROL, 0, KEYEVENTF_KEYUP, 0);<br><br>uses sendkey32<br>{+ = Shift<br>^ = Control<br>% = Alt}<br>SendKeys('^X',true); <br>发送 Control+X消息