Jump to content

Photo

AutoWalking Hotkey for AutoHotkey

autowalking hotkey

  • Please log in to reply
2 replies to this topic

#1
Turul1989

Turul1989

    Enthusiast

  • Members
  • PipPip
  • 181 posts

I wanna make a autohotkey for auto walking but nothing works!?

 

Please someone do this or help me?



#2
Turul1989

Turul1989

    Enthusiast

  • Members
  • PipPip
  • 181 posts

Here is code i am using for ahk file:

 

 

 

 

/*
[Variables]
ExeFile=ACOdyssey.exe
DirPath=C:\Program Files (x86)\Assassins Creed Odyssey\
WinTitle=ACOdyssey
WinClass=W2ViewportClass
*/

{
/*--------------------------p--------------------------
Click once to start ore stop run/walk.
Click twice to toggle beween running and walking.
Keep it pressed down to sprint.
*/
l::
keywait, l, T0.20    
If errorlevel = 0
{
    KeyWait, l, D T0.20
    If errorlevel = 0    
    {
        Sendevent, {control down}{control up}
    }
    else
    If errorlevel = 1
    {
        sleep, 10    
        If (bAutorun = 0){
            Sendevent, {w down}
            bAutorun++
        }Else{
            Sendevent, {w up}
            bAutorun--
        }
    }
    Return
}
else
If errorlevel = 1
{
    while GetKeyState("l", "l")
    {                                                    
        SendEvent, {shift down}
        KeyWait, .
        SendEvent, {shift up}
    }
}
return
} ;--------------------------The End--------------------------



#3
Turul1989

Turul1989

    Enthusiast

  • Members
  • PipPip
  • 181 posts

I am trying to make it "L" key






Page loaded in: 0.987 seconds