1. disable keyboard mouse
- Posted by tone.skoda at gmx.net Mar 01, 2003
- 531 views
Is it possible to disable mouse and keyboard for user for a while? I want to do this while my program is sending keyboard and mouse commands with sendkeys.ew and sendmouse.ew. If user will use keyboard or mouse in this time it won't execute right.
2. Re: disable keyboard mouse
- Posted by pampeano at rocketmail.com Mar 02, 2003
- 477 views
Hi Tone, I assume that your program is sending the events to a program that wasn't made by you. So one way to disable keyboard and mouse events would be to hook the keyboard and mouse events. You can achive this with the setWindowsHookEx function (read the Windows documentation for more information about this). Best Regards, Guillermo Bonvehi PS: I have a experimental keyboard hook made on euphoria (it still has some bugs on it). If you want it let me know. --- tone.skoda at gmx.net wrote: > > Is it possible to disable mouse and keyboard for user for a while? > I want to do this while my program is sending keyboard and mouse > commands > with sendkeys.ew and sendmouse.ew. If user will use keyboard or mouse > in > this time it won't execute right.
3. Re: disable keyboard mouse
- Posted by tone.skoda at gmx.net Mar 02, 2003
- 481 views
I though that there was some simple function maybe. You can send me your code for hooks. tone.skoda at siol.net ----- Original Message ----- From: <pampeano at rocketmail.com> To: "EUforum" <EUforum at topica.com> Subject: Re: disable keyboard mouse > > Hi Tone, > I assume that your program is sending the events to a program that > wasn't made by you. So one way to disable keyboard and mouse events > would be to hook the keyboard and mouse events. You can achive this > with the setWindowsHookEx function (read the Windows documentation for > more information about this). > > Best Regards, > Guillermo Bonvehi > > PS: I have a experimental keyboard hook made on euphoria (it still has > some bugs on it). If you want it let me know. > > --- tone.skoda at gmx.net wrote: > > > > Is it possible to disable mouse and keyboard for user for a while? > > I want to do this while my program is sending keyboard and mouse > > commands > > with sendkeys.ew and sendmouse.ew. If user will use keyboard or mouse > > in > > this time it won't execute right. > > > > TOPICA - Start your own email discussion group. FREE! >