Help, im new to this AHK Topic is solved

Ask gaming related questions (AHK v1.1 and older)
xCry

Help, im new to this AHK  Topic is solved

23 Feb 2018, 07:23

Hey, im new to this AHK scripts, i've found and tried a script but in the application, my mouse movement only move downward. How do i make it move upward and downward at the same amount ? So it balance out.

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%

F1::
Loop
{
Sleep, 10
GetKeyState, state, F1, P
if state = U ;-- The key has been released, so break out of the loop.
break
SoundBeep,200,250
Sleep, 10
Suspend
}
return
F2::Suspend

~LButton::
while GetKeyState("LButton")
{
DllCall("mouse_event", uint, 1, int, 0, int, 1, uint, 0, int, 0)
Sleep, 12
}
return
~MButton::
if GetKeyState("LButton")
{
Sleep, 13
MouseClick, Middle,,,, D
DllCall("mouse_event", uint, 0, int, 0, int, -1, uint, 0, int, 0)
}
return


Insert::ExitApp

this is the script i've tried. it only moved my mouse movement down

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 113 guests