Welcome to the Forum Archive!

Years of conversation fill a ton of digital pages, and we've kept all of it accessible to browse or copy over. Whether you're looking for reveal articles for older champions, or the first time that Rammus rolled into an "OK" thread, or anything in between, you can find it here. When you're finished, check out the boards to join in the latest League of Legends discussions.

GO TO BOARDS


Autohotkey to bind left mouse click

1
Comment below rating threshold, click here to show it.

wildecus

Junior Member

01-12-2012

So League won't let me bind left click to anything, and I don't have a gaming mouse to do that, but I want to be like Hotshot and use my mouse to A move click.

I'm trying to make an autohotkey script do the job. It actually worked last week, but it is failing now for a reason I cannot decipher. This is the script that I was previously using:

[code]#NoEnv
#InstallKeybdHook
SetKeyDelay, 30, 30 ; default for sending commands

$Lbutton::
IfWinNotActive, League of


SetKeyDelay, 30, 30 ;
Send, a
$z::Lbutton[/code]

It just doesn't do anything in game anymore. At one point putting keydelay up to 50ms solved the issue, but that no longer works.

Any gurus out there know how to get left click inputting a again?


Comment below rating threshold, click here to show it.

Solaris Shadow

Recruiter

01-12-2012

Try going into C:\Riot Games\League of Legends\RADS\solutions\lol_game_client_sln\releases\0.0.0.104\deploy\DATA\CFG
opening input.ini
and adding typically you can attack move click by holding shift,
evtPlayerAttackMoveClick=[Button 2]
evtPlayerAttackMove=[a],[x]
evtPlayerMoveClick=[Shift] [Button 2]


Comment below rating threshold, click here to show it.

wildecus

Junior Member

01-12-2012

Solaris you are a wonderful human being. I've been punching autohotkey for days and your fix is so much more elegant.

How might i put attack move on button 1, and put button 1 functionality to shift + button 1 if you don't mind me asking.


Comment below rating threshold, click here to show it.

Solaris Shadow

Recruiter

01-12-2012

I'm guessing you want to change it so smartcast is normalcast?
evtCastSpell1=[Shift][q]
evtCastSpell2=[Shift][w]
evtCastSpell3=[Shift][e]
evtCastSpell4=[Shift][r]
evtCastAvatarSpell1=[Shift][d]
evtCastAvatarSpell2=[Shift][f]

evtSmartCastSpell1=[q]
evtSmartCastSpell2=[w]
evtSmartCastSpell3=[e]
evtSmartCastSpell4=[r]
evtSmartCastAvatarSpell1=[d]
evtSmartCastAvatarSpell2=[f]


Comment below rating threshold, click here to show it.

wildecus

Junior Member

01-12-2012

Not quite. I want to bind attack move to normal left click, and normal left click to shift left click.

So when i left click, I attack move.

And then I can use shift click to select things and control the camera on the map.


Comment below rating threshold, click here to show it.

Solaris Shadow

Recruiter

01-12-2012

Not sure if this would cause issues or not but:
evtPlayerMoveClick=[Shift] [Button 1]
evtPlayerAttackMoveClick=[Button 1]

I do not belive you can rebind the button to control the camera on the map at least from the given keybinding options.


Comment below rating threshold, click here to show it.

Títty Smáck

Junior Member

07-29-2012

Bumping an old thread but I was wondering if there was a recent method to doing something similar to this?


1