Home All Groups Group Topic Archive Search About

modify the keyboard queue

Author
21 Aug 2006 2:06 PM
Julia
Hi

I need to be able to modify the keyboard queue and I have no idea how to do
it. I have a windows app (C#) that should login to another application when
pressing a login button. I have no access to the other application so I would
like to add the username and password to the keyboard queu and login to the
third part application that way.

Is this possible to do? Does anyone knows where to find some information
about this area?

Thanks a lot
Julia

Author
24 Aug 2006 7:54 AM
oscar.acostamontesde@googlemail.com
Hello Julia:
Don't understand exactly what you wanna do, but i supose you want to
manipulate the keyboard at a low level. I sugest you to search the web
for a keyboard hook. There are a couple of good examples in
www.codeproject.com
Maybe it's in C, you'll have to wrap the dll to be called from c#
Good luck.

Oscar Acosta
Julia wrote:
Show quote
> Hi
>
> I need to be able to modify the keyboard queue and I have no idea how to do
> it. I have a windows app (C#) that should login to another application when
> pressing a login button. I have no access to the other application so I would
> like to add the username and password to the keyboard queu and login to the
> third part application that way.
>
> Is this possible to do? Does anyone knows where to find some information
> about this area?
>
> Thanks a lot
> Julia
Author
1 Sep 2006 4:03 PM
Mini-Tools Timm
"Julia" wrote:

> I need to be able to modify the keyboard queue and I have no idea how to do
> it. I have a windows app (C#) that should login to another application when
> pressing a login button. I have no access to the other application so I would
> like to add the username and password to the keyboard queu and login to the
> third part application that way.

It's not possible to modify the keyboard queue per se.  But it is possible
to suppress key events that you don't want to occur, and send your own key
events instead, which should have the same effect.

But from your description it sounds like you don't actually want to modify
the keyboard queue, but rather you want to remote-control another application
by sending it key events.  You can use the SendKeys method to do this.  We
also offer a .NET component that handles everything keyboard-related for you:

http://www.mini-tools.com/goto/input

--
Timm Martin
Mini-Tools
..NET Components and Windows Software
http://www.mini-tools.com
Author
8 Sep 2006 11:04 AM
oscar.acostamontesde@googlemail.com
You are fast for sales man!!!

Mini-Tools Timm wrote:
Show quote
> "Julia" wrote:
>
> > I need to be able to modify the keyboard queue and I have no idea how to do
> > it. I have a windows app (C#) that should login to another application when
> > pressing a login button. I have no access to the other application so I would
> > like to add the username and password to the keyboard queu and login to the
> > third part application that way.
>
> It's not possible to modify the keyboard queue per se.  But it is possible
> to suppress key events that you don't want to occur, and send your own key
> events instead, which should have the same effect.
>
> But from your description it sounds like you don't actually want to modify
> the keyboard queue, but rather you want to remote-control another application
> by sending it key events.  You can use the SendKeys method to do this.  We
> also offer a .NET component that handles everything keyboard-related for you:
>
> http://www.mini-tools.com/goto/input
>
> --
> Timm Martin
> Mini-Tools
> .NET Components and Windows Software
> http://www.mini-tools.com

AddThis Social Bookmark Button