[Help]Keyboard key[Solved]

Posts 1–15 of 16 · Page 1 of 2
[Help]Keyboard key[Solved]
Key all,

ok so i have a program that whenever the user presses the F8 key something happens. Now I want my program to be able to press that key on the key board to call this action in rapid succession. Please help! lol...
Errrm, what exactly are you trying to do?
Loops... ever heard of it? Timers.. Ever heard of it?
Quote Originally Posted by 'Bruno View Post
Loops... ever heard of it? Timers.. Ever heard of it?

What is a timer ?
Quote Originally Posted by 'Bruno View Post
Timer Class (System.Windows.Forms)

Usually known as a Control <_<

And there's a few more classes about timers.. but yea.. :\
He knows about it. You missed the sarcasm.
Quote Originally Posted by Hassan View Post


He knows about it. You missed the sarcasm.
Oh i guess... I was surprised that he asked that honestly.. meh..
Blubb please stop spamming.
You just got your 5000 with spamming -.-
/jk
ontopic:
sendkeys.send() ' doesnt work inGame
[php]Private Declare Function keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer) As Boolean
keybd_event(&H77, 0, 0, 0)
keybd_event(&H77, 0, &H2, 0)[/php]

You can figure the rest.
Quote Originally Posted by master131 View Post
[php]Private Declare Function keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer) As Boolean
keybd_event(&H77, 0, 0, 0)
keybd_event(&H77, 0, &H2, 0)[/php]
Ty guys, sry for not being to clear but what i needed was the actual function for press an individual key on the keyboard Ty!

[solved]
Or use the Keyboard part of MPGH SDK which never got finished.
Quote Originally Posted by NextGen1 View Post
Or use the Keyboard part of MPGH SDK which never got finished.
Snippet Vault is bettah
Whoever marked the thread solved really needs to learn how to type
Quote Originally Posted by Jason View Post
Whoever marked the thread solved really needs to learn how to type
Exactly, Plus fuck you for pawning and getting thanks from me lol :P
Quote Originally Posted by Jason View Post
Whoever marked the thread solved really needs to learn how to type
if your going to be so picky ill fix it

Gosh


Edit - you can only edit the last post you made...Damn why did i wright this post.....
Posts 1–15 of 16 · Page 1 of 2
This thread is closed for replies.

Tags for this Thread

None

Talk with us