kn007
发表于 2009-7-6 19:03:16
继续顶,怎么都保密了?!
kn007
发表于 2009-7-6 20:55:10
等待中。。。。。
kn007
发表于 2009-7-6 21:29:48
期待加等待,等于要命
wang452
发表于 2009-7-6 22:03:52
拔掉键盘可以吗?:face (7):
kn007
发表于 2009-7-6 22:05:35
当然可以,不过你觉得可能不?
kn007
发表于 2009-7-7 07:49:35
等待中....................
kn007
发表于 2009-7-7 09:44:57
。。。。。。。。。。顶。。。。。。
rolaka
发表于 2009-7-7 10:53:20
#include <WinAPI.au3>
#include <WindowsConstants.au3>
#include <StructureConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Opt('MustDeclareVars', 1)
Global $hHook, $hStub_KeyProc, $buf = "", $title = "", $title_1 = "", $keycode, $buffer = "", $nMsg
Local $hmod
$hStub_KeyProc = DllCallbackRegister("_KeyProc", "long", "int;wparam;lparam")
$hmod = _WinAPI_GetModuleHandle(0)
$hHook = _WinAPI_SetWindowsHookEx($WH_KEYBOARD_LL, DllCallbackGetPtr($hStub_KeyProc), $hmod)
While 1
Sleep(10)
WEnd
Func _KeyProc($nCode, $wParam, $lParam)
Local $tKEYHOOKS
$tKEYHOOKS = DllStructCreate($tagKBDLLHOOKSTRUCT, $lParam)
If $nCode < 0 Then
Return _WinAPI_CallNextHookEx($hHook, $nCode, $wParam, $lParam)
EndIf
If $wParam = $WM_KEYDOWN Then
MsgBox(0, "", "拦截")
Else
Local $flags = DllStructGetData($tKEYHOOKS, "flags")
Switch $flags
Case $LLKHF_ALTDOWN
MsgBox(0, "", "拦截")
EndSwitch
EndIf
Return _WinAPI_CallNextHookEx($hHook, $nCode, $wParam, $lParam)
EndFunc ;==>_KeyProc
Func _exit()
_WinAPI_UnhookWindowsHookEx($hHook)
DllCallbackFree($hStub_KeyProc)
Exit
EndFunc ;==>_exit
http://www.autoitx.com/forum.php?mod=viewthread&tid=2389&extra=page%3D1
根据版主的源码简单修改就ok了...用msgbox来断...
按下去会卡一下 关于这个脚本我什么都不知道别问我...
kn007
发表于 2009-7-7 10:58:27
挺好的,我试试看
kn007
发表于 2009-7-7 16:33:42
可以说解决的了,但先不结贴,看看还有不
fy1126
发表于 2009-11-18 14:24:21
期待高手出现
dajun
发表于 2010-5-20 06:42:00
帮LZ顶下。