| |
|
|
| pressure-Button intercepting with Hook: CompileMarkSeparation {$cleq}
cls
userMessages wm_user+1234
initMyHook()
do{
waitInput
select uMessage
caseof wm_user+1234
if (&ulParam==1) and (&uwParam==44)
print "Drucktaste"
endif
endSelect
}
nProc initMyHook{
return SetWindowsHookEx(13,procAddr(myLowLevelKeyboardHookProc),getModuleHandle(0),0)/*WH_KEYBOARD_LL*/
}
nProc myLowLevelKeyboardHookProc(long code,wp,lp){
sendMessage(hWnd,wm_user+1234,long(lp,0),long(lp,8))
CallNextHookEx(0, Code, wp, lp)}
or without Hook: CompileMarkSeparation or without Hook and without XPSE ( [...] ) : CompileMarkSeparation |
|
|
| |
|
|
|
Gerhard Putschalka | Hi thanks, but unfortunately is not the I my. gives it an example as HTML-code? I use for this trouble no Profan or. one other Program. might it with JavaScript lösbar his? |
|
|
| Xprofan 11.2, Windows7 Home Premium, AcerAspire 7540G | 09/08/12 ▲ |
|
|
|
|
| salvo!
makes we here [...] moreover. |
|
|
| |
|
|
|
Georg Teles | Hmm me falls there a Problematik on or must the so his ?
once a Tastenkombination registered watts, functions tappt im dunkeln not others Programs --- example: one registriere A (dez. 65) as Hotkey and starte the Testskript (the without XPSE & without HOOK) now open one Notepad & try A To write, Notepad receiving the typed A not at all
Hello |
|
|
| |
|
|
|
| Diese function cannot associate a hot key with a window created by another thread. [...]
means nothing with without Hook. |
|
|
| |
|
|
|
Georg Teles | Jupp, standing too that just F12 The whole Time for Debugger reserved is, and F12 use I gladly, means Real nothing with without Hook |
|
|
| |
|
|