Jump to content

Spammer/Typer/Whatever...

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_Rascagua_*

Guest_Rascagua_*
  • Guests
can someone link me to a tutorial or something that shows how to build a Visual Basic Program

where basically if I type any letter on the keyboard, it replaces it with its own message... like a auto typer, but its really replacing it...

like if I type h, it types hahaha, or p, pwnt


not exactly like that, but can anyone help me?

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You could do a search and replace after the user types but this would be slow:

CodeGuru: "Search and Replace" in Visual Basic Applications

#3
Guest_NeedHelp_*

Guest_NeedHelp_*
  • Guests
Do you want to do a drop-down list like dictionary or when they press "h" automatically put in hahahaha. What if they wanted to type he or She and then it would be Shahahaha?

Or is it "if they type H and press enter replace with hahahaha"?

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
No need for big fuss, and no need for tutorials, just open Visual Basic and insert a timer, make the interval = 500 and add this code:-
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer

Private Sub Timer1_Timer()
If GetAsyncKeyState(vbKeyH) Then SendKeys "{BS}hahahahaha"
If GetAsyncKeyState(vbKeyP) Then SendKeys "{BS}pwnt"

End Sub

Explanation:-
GetAsyncKeyState(vbKeyH) = this detects when you press the H key

SendKeys "{BS}hahahahaha" = SendKeys is self explanatory {BS} is backspace (so to delete the h that you wrote), and then the string hahahahaha.

Pretty simple? Don't you think. Just took me 30 seconds to figure it out.