呵呵,<br>不是amo摆酷,实在没时间为y9y打工;(,<br>不过我还是认为可以实现,<br>走tsr的路希望不大,<br>不如走vxd之类的路,<br>哪位有空的去研究一下VKD(Virtual Keyboard Device )<br>看看它的说明:<br>The virtual keyboard device virtualizes keyboard input, <br>supports Windows shell hotkeys, <br>provides for pasting text into a virtual machine, <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>and manages keyboard input when in message mode.<br>看看它提供的服务:<br>The VKD provides the following services: <br>VKD_API_Force_Key <br>VKD_API_Get_Version <br>VKD_Cancel_Hot_Key_State <br>VKD_Cancel_Paste <br>VKD_Define_Hot_Key <br>VKD_Define_Paste_Mode <br>VKD_Disable_Keyboard <br>VKD_Enable_Keyboard <br>VKD_Filter_Keyboard_Input <br>VKD_Flush_Msg_Key_Queue <br>VKD_Force_Keys <br>VKD_Get_Kbd_Owner <br>VKD_Get_Msg_Key <br>VKD_Get_Shift_State <br>VKD_Get_Version <br>VKD_Local_Disable_Hot_Key <br>VKD_Local_Enable_Hot_Key <br>VKD_Peek_Msg_Key <br>VKD_Put_Byte <br>VKD_Reflect_Hot_Key <br>VKD_Remove_Hot_Key <br>VKD_Set_Shift_State <br>VKD_Start_Paste <br><br>再看MSDN中有这样的例子:<br>When a Windows-based application calls the virtual keyboard device (VKD) service<br> VKD_API_Force_Key to simulate keystrokes into a virtual 8086-mode MS-DOS session <br> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <br>without requesting a simulated change in shift state, Windows crashes. <br><br>看看VKD_API_Force_Key:<br>Forces a key into a virtual machine as if it were typed on the keyboard.<br> Because the VKD scans these forced keys for hot keys, <br>forcing VKD hot keys is allowed. Uses Flags.<br> Clears the carry flag upon success, sets it upon failure. <br><br>所以,<br>如果使用VXD你的问题是可以解决的,<br>不过......<br>amo现在是没空帮你解决了;-)<br>求人不如求已,<br>自己想办法吧<br><br>y9y是不是找到点感觉了?