Sendkeys - Special Keys

3lit3
06-07-2005, 07:19 AM
Anyone who knows where to find a list with the key code to all the keys to use with sendkeys? I can't find out what code there is for the numpad keys and the "win" key among other ones...

And is it allso possible to send mouseclicks with sendkeys?

TeraBlight
06-07-2005, 07:28 AM
I don't think you can distinguish the numpad keys from either the number keys or the home/end/pgup/pgdn/arrow keys (depending on NumLock) when using SendKeys.
It's supposed to simulate a real keypress as far as a Form or Control is concerned, the windows key wouldn't be normally processed by an application but by the system.

Qua
06-07-2005, 09:09 AM
Anyone who knows where to find a list with the key code to all the keys to use with sendkeys? I can't find out what code there is for the numpad keys and the "win" key among other ones...

And is it allso possible to send mouseclicks with sendkeys?

Its not possible to send Numpad keys, the Windows key or mouse clicks.

For more buttons to simulate and for the mouse clicks, take a look at this post Simulating Mouse & Keyboard (http://www.xtremevbtalk.com/showthread.php?t=218826)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum