Autohotkey to make mouse press keys script not working ...

CoOlSlY

New member
RL Member
I have the following in the KEYMAPPER->AUTOHOTKEY section of Rocketlauncher. What it does: You move the mouse left, it sends "LEFT" arrow key and so on... When testing inside RocketLauncher, it works flawlessly (i.e.: I move the mouse left it says "LEFT") but when inside any emulator, it doesn't work. The other keys in the AUTOHOTKEY section works in the game. I also tried as an external ahk. Any ideas??? I can attach a log, just tell me if "Debug" logs are enough.

Loop
{
Sleep 150
MouseGetPos, NVarX, NVarY
If (VarX=NVarX) and (VarY=NVary)
Continue
Send % (NVarY<(NVarX-(VarX-VarY))) ? (NVarY<(-NVarX+(VarX+VarY)))
? "{Up}" : "{Right}" : (NVarY>(-NVarX+(VarX+VarY))) ? "{Down}" : "{Left}"
VarX:=NVarX,VarY:=NVary
}
LControl::z
a::e
5::1
 

CoOlSlY

New member
RL Member
No joy :dontknow:

Tried a few more things and can't get it to work. If I load the .AHK in AutoHotKey it works too but when in game, just the part of LControl, a and 5 works and the loop stop working so the emulator supports the AHK but my loop doesn't work in the emulator :(

Any help is welcome
 
Top