Trouble with send {shift down} [Newbie]

Ask gaming related questions (AHK v1.1 and older)
AzzyF
Posts: 1
Joined: 21 Sep 2017, 16:14

Trouble with send {shift down} [Newbie]

21 Sep 2017, 16:33

Hello guys, i tried to upgrade script for auto-sprint for ARK.

Code: Select all

toggle_sprint := 0

arkAutoSprint:
  IfWinNotActive ARK: Survival Evolved
  {
    Send {LShift up}{w up}
    SetTimer, arkAutoSprint, off
    toggle_sprint := 0
  }
return
  
 F1::
  IfWinNotActive ARK: Survival Evolved
    return
  if toggle_sprint = 0
  {
    Send {Blind}{LShift down}{w down}
    SetTimer, arkAutoSprint, 200
    toggle_sprint := 1
    ToolTip, Auto Sprint, 10, 50, 3
  }
  else
  {
    toggle_sprint := 0
    Send {LShift up}{w up}
    SetTimer, arkAutoSprint, off
    Tooltip, , , , 3
  }
return


F5::
Send {LShift up}{w up}
Reload
return
Can someone help me? Btw when i press F1 i can't toggle script. I need to press Shift then i can toggle it.

In advance with gratitude.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: vysmaty and 119 guests