The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    How to use AutoHotkey?

    Discussion in 'Gaming (Software and Graphics Cards)' started by Mechanized Menace, Jan 25, 2012.

  1. Mechanized Menace

    Mechanized Menace Lost in the MYST

    Reputations:
    1,370
    Messages:
    3,110
    Likes Received:
    63
    Trophy Points:
    116
    I want to remap some of my keys to my Razer lachesis in League of Legends. I want to change my Summoner spells from D and F to MB4 and MB5 respectively, I also wanted to put my recall from B to MB 9 and inventory slot from 2 to MB8.


    I have tried doing this in game and through the mouses software, but it doesn't work right. I can only use the binds in the chat, but not for the intended purpose.

    Any help is appreciated.
     
  2. Mechanized Menace

    Mechanized Menace Lost in the MYST

    Reputations:
    1,370
    Messages:
    3,110
    Likes Received:
    63
    Trophy Points:
    116
    Bump....No one can give me any insight at all on how to use AHK?
     
  3. redrazor11

    redrazor11 Formerly waterwizard11

    Reputations:
    771
    Messages:
    1,309
    Likes Received:
    0
    Trophy Points:
    55
    Hey man, i'll help you out.

    Remapping Keys and Buttons

    Here is the FAQ on remapping buttons. But i'll give you the quick one.

    All you need to do is open up notepad.
    to remap a to b, simply put...

    a::b

    in the text file. Then save it as "atob.ahk"

    Now if you double click the file, all actions on a will print b. In your task bar, the "H" icon will display while the script is active (you can run multiple scripts, or put all remaps in the same script). Click exit, in order to stop the remaps.


    EDIT:

    According to the FAQ " XButton1::LButton Makes the fourth mouse button behave like the left mouse button."
    So XButton2 = MB5, XButtoon3 = MB6..etc.

    So you would want to put the following into your "mousemaps.ahk" file:


    XButton1::d
    XButton2::f
    XButton5::2
    XButton6::b
     
  4. Mechanized Menace

    Mechanized Menace Lost in the MYST

    Reputations:
    1,370
    Messages:
    3,110
    Likes Received:
    63
    Trophy Points:
    116
    In game it lists the Mouse buttons as MB1, MB2, MB3, MB4. Is that what I should use?
     
  5. redrazor11

    redrazor11 Formerly waterwizard11

    Reputations:
    771
    Messages:
    1,309
    Likes Received:
    0
    Trophy Points:
    55
    See the above edit :)
     
  6. Mechanized Menace

    Mechanized Menace Lost in the MYST

    Reputations:
    1,370
    Messages:
    3,110
    Likes Received:
    63
    Trophy Points:
    116
    Waterwizard if I could rep you again I would! Thanks so much man.
     
  7. redrazor11

    redrazor11 Formerly waterwizard11

    Reputations:
    771
    Messages:
    1,309
    Likes Received:
    0
    Trophy Points:
    55
    No problem!