Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    [Tutorial]Hotkey System


    Maxn
     Share

    Recommended Posts

    This can be used for your Spammer, but not only for that xD

     

    You need

    1 Timer

     

    1. Enable the timer and set the interval to "1"

     

    772019A43213E503124.jpg

     

     

    2. Declare the GetAsyncKeyState function under class

    Private Declare Function
    GetAsyncKeyState
    Lib
    "User32"
    (
    ByVal
    vKey
    As Long
    )
    As Integer

     

    3. Set a new variable, in example for the Key "F5" as Boolean

     

    Dim
    hotkey
    As Boolean

    hotkey = GetAsyncKeyState(Keys.F5)

     

    4. Now you've got your Hotkey and can do with it what you want!

     

    If
    hotkey =
    True Then
    'Enable a button/timer etc. Do anything you want
    O.o

    End If

     

    Information

     

    Credits

    Tutorial by Maxn™

     

    Greets

     

    Maxn

    Edited by Maxn™
    Link to comment
    Share on other sites

    oO gleich mal probieren.. oder tuten ^^

     

     

    P.S Supporter ? ^^

    Edited by Mozilla™
    Link to comment
    Share on other sites

    There is a much easier solution :

    Make a module :

    Declare your Hotkeyfunction :

    Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer

     

    Go back to your form -> add a timer ->

     

    If GetAsyncKeystate(17) then 'If press CTRL (= Ascii code)

    'Do what you want

    End if 'end function

     

     

     

    Then it works without the "Dim" stuff and you can replace the 17 with whatever you want

    Edited by sh00ter999
    Link to comment
    Share on other sites

    Copy&Paste -.-

    google -> Public Declare Function GetAsyncKeyState Lib "user32" Alias "GetAsyncKeyState" (ByVal vKey As Long) As Integer .. blabla

    Link to comment
    Share on other sites

    ... we don't name it leeching, it a declaration, what he do if he took it on the net....

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...