Results 1 to 2 of 2
  1. #1
    privatebomley's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Location
    1 Microsoft Way, Redmond, WA‎
    Posts
    317
    Reputation
    10
    Thanks
    100
    My Mood
    Cool

    Question: Hotkeys when unfocused

    So far, these hotkeys work for the autoclicker when the window is focused.

    [IMG]https://i570.photobucke*****m/albums/ss148/coolbromley/Coding/Untitled-1.png[/IMG]

    How can I make the hotkeys still work if the current autoclicker window is unfocused?

    Edit: Oh, yeah, I'm a total noob at visual basic. (Currently reading Chapter 2) If anyone does post instructions, please make it clear and concise.
    Last edited by privatebomley; 01-14-2010 at 09:14 PM. Reason: Clarifying
    Descartes: "I think, therefore I am."

  2. #2
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    On top under "Public Class"
    Code:
     Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As System.Int16) As Int16
    Code:
     Dim F2key As Boolean
                F2key = GetAsyncKeyState(Keys.F2)
                If F2key = True Then
                    'code h33r
                End If

Similar Threads

  1. Replies: 8
    Last Post: 10-23-2011, 01:20 AM
  2. [QUESTION]What happens, when... ?
    By TGH Zero. in forum WarRock Discussions
    Replies: 8
    Last Post: 12-24-2010, 12:56 PM
  3. Replies: 30
    Last Post: 03-02-2010, 03:38 PM
  4. question about Hotkeys
    By bohnenbong in forum Visual Basic Programming
    Replies: 5
    Last Post: 01-04-2008, 09:31 AM
  5. [question] when will the update be done
    By prox32 in forum WarRock - International Hacks
    Replies: 11
    Last Post: 05-30-2007, 06:40 PM