Re: Win32-API GetAsyncKeyState

2004-12-03 Thread Johan Lindstrom
At 04:09 2004-12-03, [EMAIL PROTECTED] wrote: "how do i use GetAsyncKeyState in perl?" Something like this? my $rsGetAsyncKeyState = new Win32::API("user32", "GetAsyncKeyState", "N", "I"); my $ret = $rsGetAsyncKeyState->Call($keyCode);

Win32-API GetAsyncKeyState

2004-12-02 Thread mailware
hi all, I need to be able to log keys typed. I cannot use Win32::GuiTest module, because the 'IsKeyPressed' function does not work with perl 5.8. Using the win32 api seems to be a good option. how do i get key strokes using perl and the win32 api? eg. "how do i use GetAsyncKeyState in perl?