Forums Forums WoW how do i make AHK keymoard

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Samuel Allen
    Grunt
    Post count: 4

    Im new to this and wanting to know how to make a script that rapid fieres 1 as long as i hold it down

    Elie Feghaly
    Sergeant
    Post count: 26

    copy this and make new AHK file, than edit that file and paste this in it make sure when u ‘save as’ to chose all type of files. Now my sleep is 55 which means the delay between 1,1,1,1 u can change that number to whatever number you want. I recommend u do few AHK files and have like 10 sleep difference try which fits best ur GSE macro. Best of luck

    ifWinActive World of Warcraft
    {
    $1::
    Loop
    {
    if not GetKeyState(“1”, “P”)
    break
    Send 1
    sleep 55
    }
    return
    }

    Jimmy Boy Albrecht
    Stone Guard
    (Contributor)
    Post count: 421

    Hello Samuel

    I am using this script:

    ;////////////////////////////////////////////////////////////////
    #SingleInstance Force
    #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
    ;#Warn ; Recommended for catching common errors.
    SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
    ;////////////////////////////////////////////////////////////////

    $numpad4:: ;$ prevents the hotkey from triggering itself by Send {a} below in the loop
    freq:=30 ;delay between key presses
    ifWinActive World of Warcraft ;Check if scrolllock is toggled on, if it is then do the keyspam loop
    {
    Loop
    {
    if getkeystate(“numpad4″,”P”)=0 ;Check if {numpad1} is pressed, if not then break loop
    break
    Send {numpad4} ;key1
    Sleep %freq% ;delay

    }
    }
    else ;if isnt toggled on, button to have its native function
    Send {numpad4}
    return

    Jimmy

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.