Help !!! no ther forums help me on this
-
After doing a lot of searches on many many forum, i feel that this one is closest to the help lvl i need... Introduction:" *Lift your hand and put it on top of any key on your keyboard. example [F]* *Put down you finger and press this key [F] ... as a result you will see the character "F" writen on your screen. *From what ive seen sendkeys.send("f") or sendkeys.send("F") i belive it only sends a msg of the character "F"\"f" instead of reproducing the signals the keyboard makes. My Problem:" *** I need an program that each 'x' seconds will press the keys "space bar"\"q"\"w"\"e" ... i dont know if my solution is setting something like hook.dll and control it thru there :doh: . And after that, i need the program i made to control my mouse to be able to move the mouse & preform clicks, within any game (ex:liniage\mu-online\World of warcraft...etc) Basically i need a program that mimics the functions of the mouse & keyboard. I trust you gurus will help me on this... :rolleyes: cause im allmost getting a nervius tick :omg: :~
-
After doing a lot of searches on many many forum, i feel that this one is closest to the help lvl i need... Introduction:" *Lift your hand and put it on top of any key on your keyboard. example [F]* *Put down you finger and press this key [F] ... as a result you will see the character "F" writen on your screen. *From what ive seen sendkeys.send("f") or sendkeys.send("F") i belive it only sends a msg of the character "F"\"f" instead of reproducing the signals the keyboard makes. My Problem:" *** I need an program that each 'x' seconds will press the keys "space bar"\"q"\"w"\"e" ... i dont know if my solution is setting something like hook.dll and control it thru there :doh: . And after that, i need the program i made to control my mouse to be able to move the mouse & preform clicks, within any game (ex:liniage\mu-online\World of warcraft...etc) Basically i need a program that mimics the functions of the mouse & keyboard. I trust you gurus will help me on this... :rolleyes: cause im allmost getting a nervius tick :omg: :~
Dim AbortSending As Boolean = True Dim Keyboard As SendKeys Do While Not AbortSending Keyboard.Send(" qwe") 'Or Keyboard.SendWait(" qwe") Threading.Thread.Sleep(500) ' This will delay for 500ms before next send Loop
-
Dim AbortSending As Boolean = True Dim Keyboard As SendKeys Do While Not AbortSending Keyboard.Send(" qwe") 'Or Keyboard.SendWait(" qwe") Threading.Thread.Sleep(500) ' This will delay for 500ms before next send Loop
If you are not simply looking for code to do this yourself, i.e. you only want to simulate mouse and keystrokes, then there is an excellent BASIC like scripting language called AutoIt which even compiles to standalone exe's. goto http://www.autoitscript.com/autoit3/index.php for details and downloads (its FREEWARE). Hope that helps.;) Tremonde.