decrypt Posted March 26, 2004 Posted March 26, 2004 Can someone give me a list of all the keys other than in the alpabet and numbers on the keyboard for the sendkey command? Or could you give me a link. I want things like tab, print screen, tab, enter, ctrl, alt, etc... Quote
*Gurus* Derek Stone Posted March 26, 2004 *Gurus* Posted March 26, 2004 [msdn]System.Windows.Forms.SendKeys[/msdn] Quote Posting Guidelines
decrypt Posted March 26, 2004 Author Posted March 26, 2004 (edited) thanks alot, does anyone know how to use the keyboard to get into ANY textbox. I have found a program that i press tab about a thousand times and nothing happens, the only way to get things going is to press on the textbox or another item and everything starts working by pressing tab, does anyone know how i could do this, using the keyboard? Edit: i just found out i can get into the menu by pressing alt alone, but that doesn't help much, what i need is on the form... Edit2: i also just found out i can get into the form by pressing the windows key that opens up the start menu, control+esc, doesn't seem to work like the windows... maybe control+esc, control+esc, alt+tab, and that gets in, do you think i should use this? Edited March 26, 2004 by decrypt Quote
decrypt Posted March 27, 2004 Author Posted March 27, 2004 hmmm... it still doesn't work very well, i'm trying to figure out a different combonation of keys to go to the textbox... Quote
decrypt Posted March 27, 2004 Author Posted March 27, 2004 is there an sendkey for the windows key located on most keyboards (the one that opens up the start menu) because control+esc, isn't working well... The windows key goes straight back to the last active form, control+esc doesn't. It goes to nothing... Quote
*Gurus* Derek Stone Posted March 27, 2004 *Gurus* Posted March 27, 2004 [api]SetForegroundWindow[/api] [api]BringWindowToTop[/api] [api]FindWindow[/api] [api]FindWindowEx[/api] Quote Posting Guidelines
decrypt Posted May 29, 2004 Author Posted May 29, 2004 (edited) Why isn't there a space bar key in the list? Can you even sendkey the spacebar? If there is, what is it? edit: I tried doing SendKeys.Send(" ") but that did not work in this case. (I'm checking a checkbox) and no "{SPACE}" and "{SPACEBAR}" do not work... Edited May 29, 2004 by decrypt Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.