Survival without a mousewheel
Posted: Tue May 22, 2012 1:56 am
I occasionally play from a laptop, and thus lack access to a mousewheel. This is survivable for the most part, but the mapper window currently can only be zoomed in/out with one. This is, as you can imagine, annoying. Here's a quick solution for Windows users:
* Install AutoHotKey from http://www.autohotkey.com
* Create a script with the contents below. For a real quick-start, the first time you run autohotkey, it will offer to create a sample script. Let it do so, and replace the contents with the below and right-click on the autohotkey tray icon and 'reload script'. Ta da.
The following script binds mousewheel up/down to CAPSLOCK+w/CAPSLOCK+s. You can of course change this to whatever you desire. This script courtesy of http://superuser.com/questions/255209/h ... autohotkey
* Install AutoHotKey from http://www.autohotkey.com
* Create a script with the contents below. For a real quick-start, the first time you run autohotkey, it will offer to create a sample script. Let it do so, and replace the contents with the below and right-click on the autohotkey tray icon and 'reload script'. Ta da.
The following script binds mousewheel up/down to CAPSLOCK+w/CAPSLOCK+s. You can of course change this to whatever you desire. This script courtesy of http://superuser.com/questions/255209/h ... autohotkey
Code: Select all
CapsLock & w::
MouseClick,WheelUp,,,10,0,D,R
return
CapsLock & s::
MouseClick,WheelDown,,,10,0,D,R
return