What are sendkeys? I have heard of them manytimes, just never had to use them. Thanks!
My usual boring signature: Something
SendKeys simulates keystrokes, and sends them to the currently active window. ie: VB Code: Text1.SetFocus SendKeys "h" Will simulate a keystroke of the H key and put it into Text1.
Text1.SetFocus SendKeys "h"
so it is like typing. But the computer is the one typing? Why do people use them to send info to other programs then?
i use it for a autotyper in games
I use it to trick people into thinking their computer is possessed. It's awesome that use can make the computer auto type stuff.
Useful Forum Tips: - If you found any post that was useful, please consider rating their post - Give sensible thread titles, please! - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB. - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post. - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator (VB6) || *NEW* Video Game Making Tips (VB6 & VB.Net) || World of Warcraft Spell Cooldown Effect (VB.Net 2008, 2010 & VB6) || *NEW* Flappy Bird (VB.Net) Lets make a Sega Genesis Emulator! (VB6 & VB.Net) Expert. Ask me anything NES! My Smilies:
Forum Rules