Hey,
Is it possible to catch keystrokes (namily Left key, right key and spacebar) outside the application
(keylogger esk)
Catching keystrokes outside application
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Catching keystrokes outside application
Hi Dean,
short answer: no.
Best
Klaus
short answer: no.
Best
Klaus
Re: Catching keystrokes outside application
Klaus, why not? - Because it is imoral? <g>
Dean,
you can set up a timer that listens to the keysDown. Something along these lines:
The app does not need to be in front for that to work.
Cheers,
Malte
Dean,
you can set up a timer that listens to the keysDown. Something along these lines:
The app does not need to be in front for that to work.
Code: Select all
on mouseUp
set the flag of me to not the flag of me
if the flag of me then listenToKeyStrokes
end mouseUp
on listenToKeyStrokes
switch
case 32 is among the items of the keysDown
put "space" -- do whatever makes sense here
break
default
put the keysDown
break
end switch
if the flag of me then send "listenToKeyStrokes" to me in 40 millisecs
end listenToKeyStrokes
Malte
Re: Catching keystrokes outside application
Malte is right. I also asked about it here... http://forums.runrev.com/phpBB2/viewtop ... 191#p16191
Re: Catching keystrokes outside application
Hi friends,
sorry, my fault, of course Malte is right!
Should get more sleep I think...
sorry, my fault, of course Malte is right!
Should get more sleep I think...